Skip to content

SymbolProperties

QuantConnect.Securities.SymbolProperties

SymbolProperties(properties: SymbolProperties)
SymbolProperties(
    description: str,
    quote_currency: str,
    contract_multiplier: float,
    minimum_price_variation: float,
    lot_size: float,
    market_ticker: str,
    minimum_order_size: Optional[float] = None,
    price_magnifier: float = 1,
    strike_multiplier: float = 1,
)

Bases: Object

Represents common properties for a specific security, uniquely identified by market, symbol and security type

Creates an instance of the SymbolProperties class

description

description: str

The description of the security

quote_currency

quote_currency: str

The quote currency of the security

contract_multiplier

contract_multiplier: float

The contract multiplier for the security

minimum_price_variation

minimum_price_variation: float

The minimum price variation (tick size) for the security

lot_size

lot_size: float

The lot size (lot size of the order) for the security

market_ticker

market_ticker: str

The market ticker

minimum_order_size

minimum_order_size: Optional[float]

The minimum order size allowed For crypto/forex pairs it's expected to be expressed in base or quote currency i.e For BTC/USD the minimum order size allowed with Coinbase is 0.0001 BTC while on Binance the minimum order size allowed is 10 USD

price_magnifier

price_magnifier: float

Allows normalizing live asset prices to US Dollars for Lean consumption. In some exchanges, for some securities, data is expressed in cents like for example for corn futures ('ZC').

strike_multiplier

strike_multiplier: float

Scale factor for option's strike price. For some options, such as NQX, the strike price is based on a fraction of the underlying, thus this paramater scales the strike price so that it can be used in comparation with the underlying such as in OptionFilterUniverse.strikes(int, int)

get_default

get_default(quote_currency: str) -> SymbolProperties

Gets a default instance of the SymbolProperties class for the specified quote_currency

Parameters:

Name Type Description Default
quote_currency str

The quote currency of the symbol

required

Returns:

Type Description
SymbolProperties

A default instance of theSymbolProperties class.

to_string

to_string() -> str

The string representation of these symbol properties