Skip to content

Tasks

Copy-paste recipes for every operation. All examples use constants, show expected output, and handle errors properly.


  • Get Positions


    Fetch open positions with pip profit calculations

  • :material-candlestick: Get Candles


    Retrieve OHLCV bars by count, date, or range

  • Place Orders


    Validate and execute market, pending, and SL/TP orders

  • Get Symbols


    List symbols, query specs, and get current ticks

  • Get History


    Retrieve historical orders and deals

  • Get Ticks


    Fetch raw tick data for backtesting

  • Market Book


    Subscribe to Level 2 order book data

  • Get Account Info


    Check balance, equity, margin, and leverage

  • Handle Errors


    Patterns for handling failures at every level