-
-
Notifications
You must be signed in to change notification settings - Fork 338
Order Building
The following was copied from a discord server discussion:
german_stallion:
Here is the thing with the orders code. The documentation from TDA is pretty terrible. So, Alex did his best to guess what TDA is expecting when forming the json. But, there are bound to be issues, and since tda-api is so young, the best thing we can do is sort out those issues and document them. The example code may very well be wrong...
(a) create orders the way you would like them through the web interface.
(b) then use get_order to reverse engineer how the json should look.
(c) then diff the json tda-api tries to create versus the json you get from get_order and try to make sense of things.
(d) file an issue in github if tda-api is doing it wrong.
umhelp:
Creating orders through TOS or Web interface and then calling get order is a really good way to figure out the order json.