Trading Assistant API Documentation - v0.1.0
Preparing search index...
types/portfolio
Position
Interface Position
interface
Position
{
symbol
:
string
;
quantity
:
number
;
avg_cost
:
number
;
current_price
:
number
;
market_value
:
number
;
cost_basis
:
number
;
unrealized_pnl
:
number
;
unrealized_pnl_pct
:
number
;
position_size_pct
:
number
;
stop_loss
?:
number
|
null
;
take_profit
?:
number
|
null
;
sector
?:
string
|
null
;
strategy_type
?:
StrategyType
|
null
;
entry_date
?:
string
|
null
;
holding_days
?:
number
|
null
;
snapshot_time
?:
string
;
}
Index
Properties
symbol
quantity
avg_
cost
current_
price
market_
value
cost_
basis
unrealized_
pnl
unrealized_
pnl_
pct
position_
size_
pct
stop_
loss?
take_
profit?
sector?
strategy_
type?
entry_
date?
holding_
days?
snapshot_
time?
Properties
symbol
symbol
:
string
quantity
quantity
:
number
avg_
cost
avg_cost
:
number
current_
price
current_price
:
number
market_
value
market_value
:
number
cost_
basis
cost_basis
:
number
unrealized_
pnl
unrealized_pnl
:
number
unrealized_
pnl_
pct
unrealized_pnl_pct
:
number
position_
size_
pct
position_size_pct
:
number
Optional
stop_
loss
stop_loss
?:
number
|
null
Optional
take_
profit
take_profit
?:
number
|
null
Optional
sector
sector
?:
string
|
null
Optional
strategy_
type
strategy_type
?:
StrategyType
|
null
Optional
entry_
date
entry_date
?:
string
|
null
Optional
holding_
days
holding_days
?:
number
|
null
Optional
snapshot_
time
snapshot_time
?:
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
symbol
quantity
avg_
cost
current_
price
market_
value
cost_
basis
unrealized_
pnl
unrealized_
pnl_
pct
position_
size_
pct
stop_
loss
take_
profit
sector
strategy_
type
entry_
date
holding_
days
snapshot_
time
Trading Assistant API Documentation - v0.1.0
Loading...