bootstrap#
API documentation for tradeexecutor.cli.bootstrap Python module in Trading Strategy.
Module description#
Command line application initialisation helpers.
Functions#
|
Take a copy of the state file, then read the original file. |
|
|
|
Create a Trading Strategy client instance. |
|
Set up the wallet sync and execution mode for the command line client. |
|
Set up the code transaction building logic. |
|
Create metadata object from the configuration variables. |
|
|
|
|
|
Create Web3 connection to the live node we are executing against. |
Apply all monkey patches. |
|
|
Prepare a cache location for this trade-executor. |
|
Autodetect exeuctor id. |
Check that given executor id is good. |