How to get Order id from open positions ? #74
Unanswered
infopinecodex-hue
asked this question in
Q&A
Replies: 1 comment
-
|
the order id is not provided on positions from Project X. You could have some internal tracking that could manage this. Once an order is filled you could save the filled order id to link to the newly created position id. or it would be easier to just use the position id once the order is filled. When I get some free time I will work on adding a way to add the order id to the position object. But I have been to busy in RL to work on this project the past couple weeks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello

cancel_order(order_id)need i writeorder_idi usesuite.positions.get_positionsto get all position but as document i can get these in bellow pictureso where is
orderIdwhat i shall i put incancel_order()i want to get orderId from Open Positions
Beta Was this translation helpful? Give feedback.
All reactions