PaperTradeInterface#
-
class sigtech.framework.strategies.runner.trade_interface.PaperTradeInterface
Baseclasses:
TradeInterface
Example implementation of TradeInterface. See framework/sigtech/framework_tests/strategies/runner/trade_interface_test.py for an example of it’s use
-
property current_live_orders
Get live orders
-
property current_model_orders
Get model orders
-
property transaction_history_df
Get transaction history as dataframe
-
generate_live_orders()
Generate live orders
-
map_broker_to_orders(orders)
Map broker orders to the internal order format
-
map_order_to_broker(orders)
Map internal orders to the format required by the broker
-
retrieve_historic_order_states()
Retrieve historic orders
-
save_transaction_history()
Save transaction history