Assets

Higher level constructs for underlying assets.

pydantic model orats.constructs.industry.assets.Asset

Represents the underlying asset of an option contract.

Show JSON schema
{
   "title": "Asset",
   "description": "Represents the underlying asset of an option contract.",
   "type": "object",
   "properties": {
      "ticker": {
         "$ref": "#/definitions/Ticker"
      }
   },
   "required": [
      "ticker"
   ],
   "definitions": {
      "Ticker": {
         "title": "Ticker",
         "description": "Ticker symbol data duration definitions.",
         "type": "object",
         "properties": {
            "ticker": {
               "title": "Ticker",
               "type": "string"
            },
            "min": {
               "title": "Min",
               "type": "string",
               "format": "date"
            },
            "max": {
               "title": "Max",
               "type": "string",
               "format": "date"
            }
         },
         "required": [
            "ticker",
            "min",
            "max"
         ]
      }
   }
}

Fields
field ticker: Ticker [Required]
historical_data_range()

The duration of available historical data.

Return type

Tuple[date, date]

Returns

The minimum and maximum dates of available data.