Skip to content

_Extensions_Add

QuantConnect._Extensions_Add

__call__

__call__(
    dictionary: Ticks,
    key: Union[Symbol, str, BaseContract, Security],
    tick: Tick,
) -> None

Adds the specified Tick to the Ticks collection. If an entry does not exist for the specified key then one will be created.

Parameters:

Name Type Description Default
dictionary Ticks

The ticks dictionary

required
key Union[Symbol, str, BaseContract, Security]

The symbol

required
tick Tick

The tick to add

required

__getitem__

__getitem__(
    type: Type[QuantConnect_Extensions_Add_TKey],
) -> _Typed_Extensions_Add[
    QuantConnect_Extensions_Add_TKey
]