Order Override¶
This feature allows users to customize and specify how Hummingbot creates orders in terms of order levels, spread, and size.
order_override¶
The user provides orders to override the orders placed by the order_amount and order_level parameters directly.
How it works¶
Since this is a feature designed for advanced users, it is not configurable from the Hummingbot client. Instead, follow the steps below to set up the order_override parameter:
- Edit the strategy config file located in the Hummingbot
conffolder using a text editor.
See Where are my config and log files? in the FAQ page for more information. - The input should be in a dictionary format, and the key is user-defined.
Make sure there is a space between the colon ( : ) and open bracket ( [ ) as shown in the Sample Configuration then save your changes. - For the changes to take effect, perform any of the following:
- Run
stopcommand,importthe config file again, and thenstart - Run
exitcommand and restart Hummingbot
While order_override is in effect, it supersedes existing values of bid_spread, ask_spread, order_amount and order_levels.
Sample configuration¶
order_override:
order_1: [sell, 2.5, 5]
order_2: [sell, 1.5, 10]
order_3: [buy, 0.5, 1]
order_4: [buy, 0.8, 3]
Using the sample input above for order_override, Hummingbot creates the following orders: