Conclusion

For best performance we recommend running a data node to prevent latency. If you compare all three logs, the third bot created orders and completed proper shutdown upon sending the stop command all within a minute while the first two bots took several minutes (bot #1 failed to shutdown properly) to respond to the stop command and close orders.

However, running a data node with significant usage may incur $1000 or more in monthly cloud server costs.

Cost

Provider: AWS

Server specs: t3.2xlarge | 8vcpu | 16GB RAM | 2000 GiB

Cost estimate for two weeks (338.868 hrs) running data node: $494.23

Untitled

Test Parameters

Script Used: v2_generic_with_controllers.py

Controller: bollinger_v1

Server Node + Hummingbot client running on AWS - Asia Pacific (Tokyo) Server

Script + Controller Config

# Script Config
markets: {}
candles_config: []
controllers_config:
- conf_directional_trading.bollinger_v1_1.yml
config_update_interval: 60
script_file_name: v2_generic_with_controllers.py

# Controller Config
id: 64GRtyHULWapPbm9i6fGM923Wk8zuQrGxTYjQwZtsJfr
controller_name: bollinger_v1
controller_type: directional_trading
manual_kill_switch: null
candles_config: []
connector_name: vega_perpetual
trading_pair: ETHUSDT-USDT
executor_amount_quote: 20
max_executors_per_side: 1
cooldown_time: 300
leverage: 100
position_mode: HEDGE
stop_loss: 0.03
take_profit: 0.02
time_limit: 2700
take_profit_order_type: 2
trailing_stop:
  activation_price: 0.015
  trailing_delta: 0.003
candles_connector: binance_perpetual
candles_trading_pair: ETH-USDT
interval: 3m
bb_length: 100
bb_std: 2.0
bb_long_threshold: 0.5
bb_short_threshold: 0.5

This was a quick test to check latency in creating orders, balance check was run at start then the script started with the controller config. After creating the first orders, the stop command was then issued.

Test #1

All default nodes enabled, custom data node disabled

PERPETUAL_API_ENDPOINTS = [
    "<https://darling.network/>",
    "<https://graphqlvega.gpvalidator.com/>",
    "<https://vega-data.bharvest.io/>",
    "<https://vega-data.nodes.guru:3008/>",
    "<https://vega-mainnet-data.commodum.io/>",
    "<https://vega-mainnet.anyvalid.com/>",
    "<https://vega.aurora-edge.com/>",
    "<https://vega.mainnet.stakingcabin.com:3008/>",
   #  "<http://13.230.237.168:3008/>"

PERPETUAL_GRPC_ENDPOINTS = [
     "darling.network:3007",
     "vega-data.bharvest.io:3007",
     "vega-data.nodes.guru:3007",
     "vega-mainnet.anyvalid.com:3007",
     "vega.mainnet.stakingcabin.com:3007",
    #"13.230.237.168:3007"