A sim run batch aggregator / automator for Zenbot. Eases the process of backtesting and subsequent analysis of results.
The documentation below is very out of date at the moment as I do not have time to update it or support a documented deployment guide.
If you are interested in this project please contact me here in Github or on Discord.
Table of Contents
- About The Project
-
Getting Started
- Prerequisites
- Installation - work in progress
- Usage - work in progress
- Contributing
- License
- Contact
- Acknowledgements
This application is a companion to the cryptocurrency trading bot Zenbot. Zenbot Sim Runner is able to import various data from Zenbot and then automate the running of simulations across multiple variations of multiple strategies.
I built this because:
- Testing and refining strategies might be a key component in an individual's journey towards any kind of live trading.
- Zenbot's built in default functionality allows running of only simulation at a time, so tweaking parameters for comparison is laborious.
- Zenbot stores simulation results in a format which does not easily allow comparison across multiple simulations.
This was primarily built for my own use and so is super-janky in places! There are no tests, no form validation, etc etc, so errors and bugs at this stage are to be expected.
Zenbot itself has disclaimers that should suffice, but just to be sure the message gets across: Use this project and Zenbot AT YOUR OWN RISK. You can and probably will lose money if and when you live trade on an exchange.
This project is basded on the PHP framework Laravel. In particular, it uses Laravel's job queue functionality to allow queueing up controlled submission of many simulation runs in one batch.
docker-compose up
then work through all the issues that arise! (seriously, if you are trying this then just give me a shout if you get stuck)
- Zenbot
This project is meaningless without it!
https://github.com/DeviaVir/zenbot - MySQL
- Redis
See 'Getting Started'
Work in progress
- Import strategies, exchanges and products from Zenbot (this populates the corresponding MySQL tables)
- Create a sim run batch (select strategies, refine strategies, confirm)
- Run the batch, or individual sim runs
- Observe queued jobs
- View results
- Copy batch details
Distributed under the MIT License.
Discord: https://discord.com/channels/880347822854115328/880347822854115331
Project Link: https://github.com/jefc1111/zenbot-sim-runner