I am trying to get the number of filled/remaining positions using the function orderStatus() under EWrapper class.

I tried something like, print(p.orderStatus(orderId=6, filled)), which didn't work. Please help.



closed as off-topic by skoestlmeier, JejeBelfort, amdopt, AdB, Daneel Olivaw Apr 11 at 17:23

  • This question does not appear to be about quantitative finance within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ This should go to stackoverflow and you should include a minimal and complete example as per their guidelines. $\endgroup$ – Ian Ash Apr 9 at 7:53
  • 4
    $\begingroup$ I'm voting to close this question as off-topic because it has nothing to do with Quantitative Finance. $\endgroup$ – skoestlmeier Apr 9 at 8:04

Browse other questions tagged or ask your own question.