SizingType#

API documentation for tradeexecutor.state.size_risk.SizingType Python class in Trading Strategy framework.

class SizingType[source]#

Bases: Enum

What kind of size risk the result is for.

__init__(*args, **kwds)#

Attributes

buy

Individual trade, buy

sell

Individual trade, sell

hold

Position size

buy = 'buy'#

Individual trade, buy

sell = 'sell'#

Individual trade, sell

hold = 'hold'#

Position size