Order API
What is a Multi-Leg Order and how is it different from the Multi Order API (Bracket Order)?
A Multi-Leg Order is a feature that allows users to execute multiple legs simultaneously, providing hedging benefits and ensuring that all legs of the order are executed together. This differs from the Multi Order API, where each leg is sent to the ...
What is the function of the "data" parameter in the get_orders API?
In the get_orders API, the "data" parameter serves a crucial role. It is used to specify the order IDs for which you wish to retrieve information. This parameter allows you to target your query to specific orders, enabling you to efficiently access ...
Can I use an order ID to modify or cancel a pending order?
Yes, you can modify or cancel a pending order by providing the order ID (id) of the specific order you wish to change. When modifying an order, ensure to include all necessary parameters relevant to the modification, such as limitPrice, stopPrice, ...
How can I exit all open positions or a specific position using the Exit Position API?
To exit open positions using the Exit Position API, you have two options. If you want to exit all open positions at once, simply use the API without providing the 'id' attribute. This will close all your current open positions. However, if you wish ...