# Full JSON Payload
SPY and QQQ Iron Condor example
{
"general": {
"strategyName": "IronCondor",
"backtestName" : "SPY_IronCondor",
"startDate": "2007-01-03",
"endDate": "2019-04-16",
"symbols": [{
"symbol": "SPY",
"weight": 0.50,
"signals": null
},
{
"symbol": "QQQ",
"weight": 0.50,
"signals": null
}],
"commission": {
"option": 1,
"stock": 0.01
},
"expirationType": "ALL",
"stockPosition": {
"type": "overlay",
"ratio": 1
},
"exitAtSignal": false,
"signalRoll" : false,
"returnType" : {"perTrade" : "notional", "daily" : "average"},
"callBackUrl": "https://yourCallBackUrl.com",
"adjustmentMaxCount" : 1
},
"entry": {
"entryDays": null,
"mktWidthPct": {
"min": null,
"max": null
},
"dateTriggers" : [
{"type" : "earnings", "occurrence" : "before", "daysMin": 10, "daysMax" : null},
{"type" : "confevents", "occurrence" : "before", "daysMin": 10, "daysMax" : null}
],
"indicatorTriggers" : [
{
"indicators": [{
"type": "ivrank",
"ti": null,
"symbol": "VIX"
}],
"min": null,
"max": 15
},
{
"indicators": [{
"type": "contango",
"ti": null,
"symbol": "SPY"
}],
"min": 0.40,
"max": 3.0
}
],
"options": [{
"ratio": 1,
"optionType": "call",
"leg": 1,
"iBidVol": {
"min": null,
"max": null
},
"iAskVol": {
"min": null,
"max": null
},
"optionBid": {
"min": null,
"max": null
},
"optionAsk": {
"min": null,
"max": null
},
"opening":
{
"dte": {
"target": 35,
"min": 25,
"max": 45
},
"strikeSelection": {
"type": "absDelta",
"value": {
"target": 0.20,
"min": 0.15,
"max": 0.25
}
}
},
"reEnter":
{
"dte": {
"target": null,
"min": null,
"max": null
},
"strikeSelection": {
"type": "absDelta",
"value": {
"target": null,
"min": null,
"max": null
}
}
},
"adjustment":
{
"daysForAdjusting": {
"min": null,
"max": null
},
"trigger": {
"type": "absDelta",
"value" : {
"min": null,
"max": null
},
"tiedTo": {
"leg": null,
"min": null,
"max": null
},
"adjustLegs" : []
},
"dte": {
"target": 35,
"min": 25,
"max": 45
},
"strikeSelection": {
"type": "absDelta",
"value": {
"target": 0.20,
"min": 0.15,
"max": 0.25
}
}
}
},
{
"ratio": -1,
"optionType": "call",
"leg": 2,
"iBidVol": {
"min": null,
"max": null
},
"iAskVol": {
"min": null,
"max": null
},
"optionBid": {
"min": null,
"max": null
},
"optionAsk": {
"min": null,
"max": null
},
"opening":
{
"dte": {
"target": 35,
"min": 25,
"max": 45
},
"strikeSelection": {
"type": "absDelta",
"value": {
"target": 0.40,
"min": 0.35,
"max": 0.45
}
}
},
"reEnter":
{
"dte": {
"target": null,
"min": null,
"max": null
},
"strikeSelection": {
"type": "absDelta",
"value": {
"target": null,
"min": null,
"max": null
}
}
},
"adjustment":
{
"daysForAdjusting": {
"min": null,
"max": 20
},
"trigger": {
"type": "absDelta",
"value" : {
"min": null,
"max": 0.75
},
"tiedTo": {
"leg": null,
"min": null,
"max": null
},
"adjustLegs" : [1,2]
},
"dte": {
"target": 35,
"min": 25,
"max": 45
},
"strikeSelection": {
"type": "absDelta",
"value": {
"target": 0.40,
"min": 0.35,
"max": 0.45
}
}
}
},
{
"ratio": 1,
"optionType": "put",
"leg": 3,
"iBidVol": {
"min": null,
"max": null
},
"iAskVol": {
"min": null,
"max": null
},
"optionBid": {
"min": null,
"max": null
},
"optionAsk": {
"min": null,
"max": null
},
"opening":
{
"dte": {
"target": 35,
"min": 25,
"max": 45
},
"strikeSelection": {
"type": "absDelta",
"value": {
"target": 0.20,
"min": 0.15,
"max": 0.25
}
}
},
"reEnter":
{
"dte": {
"target": null,
"min": null,
"max": null
},
"strikeSelection": {
"type": "absDelta",
"value": {
"target": null,
"min": null,
"max": null
}
}
},
"adjustment":
{
"daysForAdjusting": {
"min": null,
"max": null
},
"trigger": {
"type": "absDelta",
"value" : {
"min": null,
"max": null
},
"tiedTo": {
"leg": null,
"min": null,
"max": null
},
"adjustLegs" : []
},
"dte": {
"target": 35,
"min": 25,
"max": 45
},
"strikeSelection": {
"type": "absDelta",
"value": {
"target": 0.20,
"min": 0.15,
"max": 0.25
}
}
}
},
{
"ratio": -1,
"optionType": "put",
"leg": 4,
"iBidVol": {
"min": null,
"max": null
},
"iAskVol": {
"min": null,
"max": null
},
"optionBid": {
"min": null,
"max": null
},
"optionAsk": {
"min": null,
"max": null
},
"opening":
{
"dte": {
"target": 35,
"min": 25,
"max": 45
},
"strikeSelection": {
"type": "absDelta",
"value": {
"target": 0.40,
"min": 0.35,
"max": 0.45
}
}
},
"reEnter":
{
"dte": {
"target": null,
"min": null,
"max": null
},
"strikeSelection": {
"type": "absDelta",
"value": {
"target": null,
"min": null,
"max": null
}
}
},
"adjustment":
{
"daysForAdjusting": {
"min": null,
"max": 20
},
"trigger": {
"type": "absDelta",
"value" : {
"min": null,
"max": 0.75
},
"tiedTo": {
"leg": null,
"min": null,
"max": null
},
"adjustLegs" : [1,2]
},
"dte": {
"target": 35,
"min": 25,
"max": 45
},
"strikeSelection": {
"type": "absDelta",
"value": {
"target": 0.40,
"min": 0.35,
"max": 0.45
}
}
}
}],
"legRelation": {
"strikeWidth": {
"leg1Leg2": {
"min": null,
"max": null
},
"leg2Leg3": {
"min": null,
"max": null
},
"leg3Leg4": {
"min": null,
"max": null
}
},
"deltaTotal": {
"leg1Leg2": {
"min": null,
"max": null
},
"leg2Leg3": {
"min": null,
"max": null
},
"leg3Leg4": {
"min": null,
"max": null
}
},
"dteDiff": {
"leg1Leg2": {
"min": 0,
"max": 0
},
"leg2Leg3": {
"min": 0,
"max": 0
},
"leg3Leg4": {
"min": 0,
"max": 0
}
}
},
"spread": {
"price": {
"target": 5.00,
"min": 0.75,
"max": 20.00
},
"delta": {
"target": null,
"min": null,
"max": null
},
"yieldPct": {
"min": null,
"max": null
}
}
},
"exit": {
"dteDays": "expire",
"holdDays": null,
"dateTriggers" : [
{"type" : "earnings", "occurrence" : "after", "days": 10},
{"type" : "confevents", "occurrence" : "before", "days": 1}
],
"indicatorTriggers" : [
{
"indicators": [{
"type": "ivrank",
"ti": null,
"symbol": "VIX"
}],
"min": 10,
"max": null
}
],
"options": null,
"spread": {
"price": {
"min": null,
"max": null
},
"profitLossPct": {
"min": -0.75,
"max": 0.50
},
"strikeTrigger": {
"type": "absDelta",
"value": {
"min": null,
"max": null
}
},
"strikeDiffPctValue": {
"min": null,
"max": null
}
}
},
"hedge": {
"days": null,
"deltaTolerance": {
"min": null,
"max": null
}
}
}