Account Endpoints
Detailed comparisons for account related endpoints between Legacy and New API.
Balance
4 ChangesGet the current account balance with real-time updates. The account and loginid parameters and the accounts and total response objects are removed.
Portfolio
4 ChangesGet current portfolio. The market symbol field is renamed, the loginid parameter and app_id field are removed, and contract_type values are changed.
Profit table
3 ChangesGet profit/loss history. The loginid parameter and app_id field removed, and contract_type values changed.
Statement
5 ChangesGet account statement. The loginid parameter and transfer fields removed, fewer action_type values, and app_id changed from integer to string.
Transaction
6 ChangesSubscribe to transaction notifications. The loginid parameter and contract fields are removed, the market symbol field is renamed, and fewer transaction types are reported.
Any other questions? Get in touch