config

Display the current bot's configuration.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
>>>  config

Global Configurations:
                     Key   Value
     kill_switch_enabled   False
        kill_switch_rate    -100
        telegram_enabled   False
          telegram_token    None
        telegram_chat_id    None
         send_error_logs    True
       0x_active_cancels   False
          script_enabled   False
        script_file_path    None

Strategy Configurations:
                              Key               Value
                         strategy  pure_market_making
                         exchange             binance
                           market             ETH-BTC
                       bid_spread                   1
                       ask_spread                   1
                   minimum_spread                -100
               order_refresh_time                  30
      order_refresh_tolerance_pct                   0
                     order_amount                   1
                    price_ceiling                  -1
                      price_floor                  -1
                ping_pong_enabled                True
                     order_levels                   1
               order_level_amount                   0
               order_level_spread                   1
           inventory_skew_enabled               False
        inventory_target_base_pct                  50
       inventory_range_multiplier                   1
               filled_order_delay                  60
           hanging_orders_enabled               False
        hanging_orders_cancel_pct                  10
       order_optimization_enabled               False
     ask_order_optimization_depth                   0
     bid_order_optimization_depth                   0
            add_transaction_costs               False
             price_source_enabled               False
                price_source_type                None
            price_source_exchange                None
              price_source_market                None
              price_source_custom                None
                  take_if_crossed                None

config [ key ]

Reconfigure a parameter value.

1
2
3
>>>  config order_refresh_time

How often do you want to cancel and replace bids and asks (in seconds)? >>>

config [ key ] [ value ]

Reconfigure a parameter value without going through the prompts. These can be reconfigured without stopping the bot however, it will only take effect after restarting the strategy.

1
2
3
4
>>>  config order_refresh_time 30

New configuration saved:
order_refresh_time: 30.0

Configure parameters on the fly

Currently, only the following parameters can be reconfigured without stopping the bot. The changes will take effect in the next order refresh.

  • bid_spread
  • ask_spread
  • order_amount
  • order_levels
  • order_level_spread
  • inventory_skew_enabled
  • inventory_target_base_pct
  • inventory_range_multiplier
  • filled_order_delay

Take note that reconfiguring inventory_target_base_pct for DEX connectors are not working at the moment.