question for Feite #198
-
hootnot, question about the orders in Contexti seem to NOT get a complete list of orders back. and i cannot figure out why.
... i get a healthy, but empty, response:
the Oanda endpoint in question is here: https://developer.oanda.com/rest-live-v20/order-ep/ How I have been getting Orders in the interimSo I queried for Transactions list, which worked great. Then, from transactions, i deduced a list of order IDs that "must" exist. And queried for order details by individual pk.. You can see some orders here: ... But i want to query a list of my orders directly, instead of approaching it from the backdoor. I think I am just missing something dumb. Question/AskDo you see where I might have gone wrong? If you just give me an inkling of idea, it would be appreciated. Also - i really love this package. And the style of code. Thank you for publishing this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Make sure you enter a limit order. Market orders will get executed directly and therefore not show up in the orderlist since that one does PENDING by default. So, in your case, without specifying params, you only will see PENDING orders, and there will be none if you only issue MARKET orders. I've just entered a limit sell EUR_JPY @145 and it gives me:
In your case you want your filled market orders and need to pass:
Or use the definitions:
... and then your (filled) MARKET orders will show up. |
Beta Was this translation helpful? Give feedback.
Make sure you enter a limit order. Market orders will get executed directly and therefore not show up in the orderlist since that one does PENDING by default.
So, in your case, without specifying params, you only will see PENDING orders, and there will be none if you only issue MARKET orders.
I've just entered a limit sell EUR_JPY @145 and it gives me: