Module stubs

Module stubs 

Source
Expand description

Helper functions for stubbing identifiers in tests.

Functionsยง

account_ib
Returns a stub account ID for Interactive Brokers.
account_id
Returns a stub account ID.
client_id_binance
Returns a stub client ID for BINANCE.
client_id_dydx
Returns a stub client ID for dYdX.
client_order_id
Returns a stub client order ID.
component_risk_engine
Returns a stub component ID for risk engine.
exec_algorithm_id
Returns a stub execution algorithm ID.
instrument_id_aud_usd
Returns a stub instrument ID for AUD/USD.
instrument_id_aud_usd_sim
Returns a stub instrument ID for AUD/USD on SIM venue.
instrument_id_btc_usdt
Returns a stub instrument ID for BTC/USDT.
instrument_id_eth_usdt_binance
Returns a stub instrument ID for ETH/USDT on BINANCE.
order_list_id_test
Returns a stub order list ID for tests.
position_id
Returns a stub position ID.
position_id_test
Returns a stub position ID for tests.
strategy_id_ema_cross
Returns a stub strategy ID for an EMA cross strategy.
symbol_aud_usd
Returns a stub symbol for AUD/USD.
symbol_eth_perp
Returns a stub symbol for ETH-PERP.
trade_id
Returns a stub trade ID.
trader_id
Returns a stub trader ID.
uuid4
Returns a stub UUID4.
venue_binance
Returns a stub venue for BINANCE.
venue_order_id
Returns a stub venue order ID.
venue_sim
Returns a stub venue for SIM.