Trading Assistant API Documentation - v0.1.0
Preparing search index...
types/portfolio
Trade
Interface Trade
interface
Trade
{
ts
:
string
;
trade_id
:
string
;
order_id
?:
string
|
null
;
symbol
:
string
;
action
:
TradeAction
;
quantity
:
number
;
price
:
number
;
commission
?:
number
|
null
;
realized_pnl
?:
number
|
null
;
realized_pnl_pct
?:
number
|
null
;
holding_period_days
?:
number
|
null
;
strategy_type
?:
StrategyType
|
null
;
broker
?:
string
|
null
;
notes
?:
string
|
null
;
}
Index
Properties
ts
trade_
id
order_
id?
symbol
action
quantity
price
commission?
realized_
pnl?
realized_
pnl_
pct?
holding_
period_
days?
strategy_
type?
broker?
notes?
Properties
ts
ts
:
string
trade_
id
trade_id
:
string
Optional
order_
id
order_id
?:
string
|
null
symbol
symbol
:
string
action
action
:
TradeAction
quantity
quantity
:
number
price
price
:
number
Optional
commission
commission
?:
number
|
null
Optional
realized_
pnl
realized_pnl
?:
number
|
null
Optional
realized_
pnl_
pct
realized_pnl_pct
?:
number
|
null
Optional
holding_
period_
days
holding_period_days
?:
number
|
null
Optional
strategy_
type
strategy_type
?:
StrategyType
|
null
Optional
broker
broker
?:
string
|
null
Optional
notes
notes
?:
string
|
null
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
ts
trade_
id
order_
id
symbol
action
quantity
price
commission
realized_
pnl
realized_
pnl_
pct
holding_
period_
days
strategy_
type
broker
notes
Trading Assistant API Documentation - v0.1.0
Loading...