Replies: 2 comments 1 reply
-
You can think of the half spread to c1 ratio as a threshold. I found it heuristically, or you can search for optimized parameters using grid search, random search or more advanced search algorithm such as evolutionary search. It's my old research, but it could be helpful. https://github.com/nkaz001/algotrading-example/blob/master/crypto-scratch/btcusdt-standardization-market-making-backtest.ipynb |
Beta Was this translation helpful? Give feedback.
-
When using those algorithms, is it necessary to run through the whole backtest or is it possible to somehow conduct a search during the backtest? For example, i use linear regression for price prediction on a window of data collected during the backtest. I am thinking about conducting a search for c1 or other adjusting parameters during the test as well, |
Beta Was this translation helpful? Give feedback.
-
Hey!
I've been tinkering with an example strategy based on order book imbalance.
In the code of the strategy the derived imbalance is multiplied by a c1 variable which is set to 150 in the example.
I was wondering what's the logic behind this parameter and wether one should try to tune it?
Beta Was this translation helpful? Give feedback.
All reactions