PositionType#

API documentation for tradeexecutor.cli.commands.show_positions.PositionType Python class in Trading Strategy framework.

class PositionType[source]#

Bases: Enum

What output we want from show-positions command.

__init__(*args, **kwds)#

Attributes

open

Show only open positions

open_and_frozen

Show only open positions

all

Show all positions

open = 'open'#

Show only open positions

open_and_frozen = 'open_and_frozen'#

Show only open positions

all = 'all'#

Show all positions