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”
}
}