{ "info": { "title": "Account Status", "version": "7.1.0" }, "swagger": "2.0", "produces": [ "application/json" ], "host": "api.tastyworks.com", "tags": [ { "name": "trading-status", "description": "Allows an API client to request information about the basic trade status of an account. \\\n This includes information about the strategies an account can trade." } ], "paths": { "/accounts/{account_number}/trading-status": { "get": { "description": "Returns current trading status for an account.", "produces": [ "application/json" ], "parameters": [ { "in": "path", "name": "account_number", "type": "integer", "format": "int32", "required": true } ], "responses": { "200": { "description": "Returns current trading status for an account.", "schema": { "$ref": "#/definitions/TradingStatus" } } }, "tags": [ "trading-status" ], "operationId": "getAccountsAccountNumberTradingStatus" } } }, "definitions": { "TradingStatus": { "type": "object", "properties": { "id": { "description": "", "type": "integer", "format": "int32" }, "account-number": { "description": "", "type": "string" }, "are-deep-itm-carry-options-enabled": { "description": "", "type": "boolean" }, "are-far-otm-net-options-restricted": { "description": "", "type": "boolean" }, "are-options-values-restricted-to-nlv": { "description": "", "type": "boolean" }, "are-single-tick-expiring-hedges-ignored": { "description": "", "type": "boolean" }, "autotrade-account-type": { "description": "", "type": "string" }, "clearing-account-number": { "description": "", "type": "string" }, "clearing-aggregation-identifier": { "description": "", "type": "string" }, "cmta-override": { "description": "", "type": "integer", "format": "int32" }, "day-trade-count": { "description": "", "type": "integer", "format": "int32" }, "enhanced-fraud-safeguards-enabled-at": { "description": "", "type": "string", "format": "date-time" }, "equities-margin-calculation-type": { "description": "", "type": "string" }, "ext-crm-id": { "description": "", "type": "string" }, "fee-schedule-name": { "description": "", "type": "string" }, "futures-margin-rate-multiplier": { "description": "", "type": "number", "format": "double" }, "has-intraday-equities-margin": { "description": "", "type": "boolean" }, "is-aggregated-at-clearing": { "description": "", "type": "boolean" }, "is-ascend-event-contracts-enabled": { "description": "", "type": "boolean" }, "is-closed": { "description": "", "type": "boolean" }, "is-closing-only": { "description": "", "type": "boolean" }, "is-cryptocurrency-closing-only": { "description": "", "type": "boolean" }, "is-cryptocurrency-enabled": { "description": "", "type": "boolean" }, "is-equity-offering-closing-only": { "description": "", "type": "boolean" }, "is-equity-offering-enabled": { "description": "", "type": "boolean" }, "is-frozen": { "description": "", "type": "boolean" }, "is-full-equity-margin-required": { "description": "", "type": "boolean" }, "is-futures-closing-only": { "description": "", "type": "boolean" }, "is-futures-enabled": { "description": "", "type": "boolean" }, "is-futures-intra-day-enabled": { "description": "", "type": "boolean" }, "is-in-day-trade-equity-maintenance-call": { "description": "", "type": "boolean" }, "is-in-margin-call": { "description": "", "type": "boolean" }, "is-non-retail": { "description": "", "type": "boolean" }, "is-pattern-day-trader": { "description": "", "type": "boolean" }, "is-portfolio-margin-enabled": { "description": "", "type": "boolean" }, "is-risk-reducing-only": { "description": "", "type": "boolean" }, "is-roll-the-day-forward-enabled": { "description": "", "type": "boolean" }, "is-small-notional-futures-intra-day-enabled": { "description": "", "type": "boolean" }, "options-level": { "description": "", "type": "string" }, "pdt-reset-on": { "description": "", "type": "string", "format": "date" }, "short-calls-enabled": { "description": "", "type": "boolean" }, "small-notional-futures-margin-rate-multiplier": { "description": "", "type": "number", "format": "double" }, "updated-at": { "description": "", "type": "string", "format": "date-time" } }, "description": "TradingStatus model" } } }