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.
Let’s say I have long position now, I would like to do a reverse position.
make a STC at certain price
record the signal_id in step 1
delay 1 second
make a BTO at the price of step 1 with conditionalupon = signal_id
If the STC in step 1 does not fill, the I get the message below.
You are currently long, so you cannot SELL TO OPEN or SELL SHORT. First you need to STC your current position.
What is the correct way to do reverse order using apiv3? Thank you very much.
If you’re receiving that error message, it means you are not creating a conditional order in a way that C2 understands. Please send me the logs of the entire API call/response sequence. Send to help@collective2.com. I’ll take a look and figure out what’s going on.