BlueShift Flashcards
1
Q
life cycle
A
Assets
signal + position
target portfolio
rebalance
2
Q
Blue shift order Data
A
Initialise
before_trading_start ( date_rules : time_rules)
handle_data
analyze
3
Q
Other API functions Context
A
schedule_function
order_target_percentage
get_open_orders
cancel_order
4
Q
portfolio & data attributes
A
Context.portfolio
Context.account
data.current
data.history
5
Q
Ordering management
A
order_target_percent order_target_value cancel_order get_open_orders get_order(id)
6
Q
Context queries
A
get_open_position
context. account
context. orders
context. open_orders
context. portfolio.cash
context. portfolio.positions
context. portfolio.pnl