Trading Endpoints
Detailed comparisons for trading related endpoints between Legacy and New API.
Buy
4 ChangesPurchase contracts. The loginid parameter removed, parameters.symbol renamed to parameters.underlying_symbol, five parameters fields removed, and the contract_type values changed.
Cancel
1 ChangeCancel an active contract. The loginid parameter is removed; the response is unchanged.
Contract update
1 ChangeUpdate a contract's take profit and stop loss. The loginid parameter is removed; the response is unchanged.
Contract update history
1 ChangeGet a contract's update history. The loginid parameter is removed; the response is unchanged.
Proposal
6 ChangesGet contract pricing. The market symbol field is renamed, request parameters and contract types are removed, and display_value and Snowball response fields are removed.
Proposal open contract
8 ChangesGet open contract details. The loginid parameter is removed, price and spot fields are now strings, the market symbol field is renamed, and tick, display and Snowball fields are removed.
Sell
1 ChangeSell an active contract. The loginid parameter is removed; the response is unchanged.
Any other questions? Get in touch