The opinions expressed in these forums do not represent those of C2, and any discussion of profit/loss is not indicative of future performance or success. There is a substantial risk of loss in trading. You should therefore carefully consider whether such trading is suitable for you in light of your financial condition. You should read, understand, and consider the Risk Disclosure Statement that is provided by your broker before you consider trading. Most people who trade lose money.

Getting all open positions?


How to?

In addition, do you take into account commision?


I think this question was answered via private email. For the sake of creating a canonical answer here on the site:

You can use the C2 Data Services API to request cmd=getopenpositions.

To learn more, see:


Is “getopenpositions” still a valid command for the URL API? I don’t see it listed in the article here and cannot seem to get “getopenpositons” to work for me like the commands in the article. Is there a new similar command if this one is no longer valid? I would really like a command to do this.



Check out this link C2 API. By the way open positions are not available if you don’t subcsribe to strategy.

1 Like
Back to C2 Platform