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.

Example of API for option trade


I would like sample API code for submitting an option order. For example, I would like to STO 1 CRM 20July18 130 PUT option at the market. I tried this code below but it didn’t work. This example does not show my assigned API Key.

“apikey”: “9999999999999999999”,
“systemid”: “118115172”,
“signal”: {
“action”: “STO”,
“quant”: 1,
“symbol”: “CRM1806S130”,
“typeofsymbol”: “option”,
“duration”: “DAY”

Back to C2 Platform