Version 0.36.0 is released

Version 0.36.0 is released

2 years agoNews By Saleh Mir

Today I released version 0.36.0 of the framework and the live plugin.

The big feature of this release was supposed to be the support for spot trading. I'm working on it on a separate branch, and I've had a good progress. But unfortunately it is not ready yet.

However, the number of small features and but fixes that I have prepared was piling up and I don't like it when release notes of a release are so long; because then it becomes hard to read them.

What's new

  • [NEW FEATURE] Added new optional parameters to research module's backtest() function to handle quantstat reports, export hyperparameters, equity-curve chart values, CSV and JSON export, tradingview's pine-editor output and also made chart generation optional so your script can run faster if you don't need it.
  • [IMPROVEMENT] Updated the self.log() method to NOT send notifications by default in live mode. If you want to, you should pass send_notification=True to the method.
  • [IMPROVEMENT] Improved handling of errors in the REST API for fetching candles in the live mode which was introduced in version 0.35.0.
  • [IMPROVEMENT] Improved handling of the entry_price at FTX to be exactly what you see on their exchange dashboard.
  • [IMPROVEMENT] Improved a few error messages in the live mode to include useful information about the error for easier debugging in the future.
  • [IMPROVEMENT] Added handling of TypeError: 'NoneType' object is not subscriptable errors caused by API keys being expired on Bybit.
  • [IMPROVEMENT] Improved handling of a few common errors in the live mode that are safe to ignore.
  • [IMPROVEMENT] Improved error handling for Bybit drivers in import-candles mode.
  • [IMPROVEMENT] Refactored the notifications handler to work in a separate thread so that in the case of notifications taking long to respond, the main execution won't be affected.
  • [IMPROVEMENT] You will now be asked if you're sure about closing the dashboard. This is to prevent accidental closing of the dashboard tab.
  • [FIX] Fixed a couple of errors happening with notification drivers (Telegram and Discord)
  • [FIX] Fixed a bug where empty log files were created in storage/logs/backtest-mode when running the optimize mode.
  • [FIX] Fixed the ValueError: No value exists in Redis for process ID of: xxx error that occurred in docker setups. It requires you to update your project's docker-compose.yml manually. Here's a quick guide.
  • [FIX] Implemented a workaround for an issue when sometimes multiple partially-filled orders in live mode caused unexpected behavior.
  • [FIX] Fixed an issue when paper mode raised an error about API keys of Bybit Perpetuals if their values were empty in the .env file.

My limited time and how I'm spending it

In a recent Discord announcement I mentioned that I'm going through some personal issues and that my time has become limited as the result of it.

Just wanted to say that I will try my best to give support to the existing users for the already implemented features first, and then once I have time left, work on new features.

Hence, if you face any issues please submit reports via the dashboard and I'll try to get back to you as soon as possible.

Although as I'm writing this there are barely anything left to fix based on reports. There are a few rare issues which are tricky to debug, but otherwise soon I'll resume the development of adding support for spot trading.

Thank you for your continued support,

— Saleh

❤️ Like Jesse?

If you like this project, please consider supporting me for free by using my referral links.

It's a win-win, you get free discounts and bonuses, and it helps me to develop more features and content:


Thank you 🙏