Tasks¶
Copy-paste recipes for every operation. All examples use constants, show expected output, and handle errors properly.
-
Fetch open positions with pip profit calculations
-
:material-candlestick: Get Candles
Retrieve OHLCV bars by count, date, or range
-
Validate and execute market, pending, and SL/TP orders
-
List symbols, query specs, and get current ticks
-
Retrieve historical orders and deals
-
Fetch raw tick data for backtesting
-
Subscribe to Level 2 order book data
-
Check balance, equity, margin, and leverage
-
Patterns for handling failures at every level