tastytrade · Schema
BacktestPost
FinanceBrokerageTradingOptionsFuturesEquitiesCryptoMarket DataWebSocket
Properties
| Name | Type | Description |
|---|---|---|
| symbol | string | |
| startDate | string | |
| endDate | string | |
| legs | array | |
| entryConditions | object | |
| exitConditions | object |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://developer.tastytrade.com/schemas/backtesting/BacktestPost",
"title": "BacktestPost",
"type": "object",
"properties": {
"symbol": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"legs": {
"type": "array",
"items": {
"type": "object",
"allOf": [
{
"$ref": "#/components/schemas/Leg"
}
]
}
},
"entryConditions": {
"allOf": [
{
"$ref": "#/components/schemas/EntryConditions"
}
]
},
"exitConditions": {
"allOf": [
{
"$ref": "#/components/schemas/ExitConditions"
}
]
}
}
}