Well, language agnostic APIs are always preferred (like FIX). Secondly, sometimes you just don't have a choice and the "modern" APIs are web based.I do not understand the advantage of the REST API over a C++ API or C#.net.
Well, language agnostic APIs are always preferred (like FIX). Secondly, sometimes you just don't have a choice and the "modern" APIs are web based.I do not understand the advantage of the REST API over a C++ API or C#.net.
only advantage I see is you have a bulk load of orders you want to place, cancel, get position data. it's simpleI do not understand the advantage of the REST API over a C++ API or C#.net.
Yes, you can submit orders at once or in batches. For tracking you need to periodically check again which orders are filled. If api supports web sockets then you well be informed of the fill automatically.IB, as well as tdameritrade, etrade, have rest api for trading. anyone has experience using them? is it possible to submit 200 orders in one minute and track if the orders are filled or not?
so do i need to check 200 orders by 200 calls to the server using rest protocol? or I can check 200 orders by one call to the server?Yes, you can submit orders at once or in batches. For tracking you need to periodically check again which orders are filled. If api supports web sockets then you well be informed of the fill automatically.
TD Ameritrade supports REST APIs (see https://developer.tdameritrade.com/apis ) via OAuth 2.0 -- JSON response.so do i need to check 200 orders by 200 calls to the server using rest protocol? or I can check 200 orders by one call to the server?
if I have 10000 orders outstanding on the broker server, can one call get all the information? I guess the message is too large given you have to poll every seconds and poll those orders never filled.TD Ameritrade supports REST APIs (see https://developer.tdameritrade.com/apis ) via OAuth 2.0 -- JSON response.
You need to register. Yes, a single call can get all your current balances, positions and orders -- Up to your calling program to parse and store.
Yes, it polls every order. I think there is an option to specify the particular order ID - not sure. But every second is certainly too frequent.if I have 10000 orders outstanding on the broker server, can one call get all the information? I guess the message is too large given you have to poll every seconds and poll those orders never filled.
IB, as well as tdameritrade, etrade, have rest api for trading. anyone has experience using them? is it possible to submit 200 orders in one minute and track if the orders are filled or not?