asynctradier.common.position module

class asynctradier.common.position.Position(**kwargs)[source]

Bases: object

Represents a trading position.

symbol

The symbol of the position.

Type:

str

quantity

The quantity of shares held in the position.

Type:

int

cost_basis

The average cost basis of the position.

Type:

float

date_acquired

The date when the position was acquired.

Type:

str