Jesse version 0.32.0 is released!

Jesse version 0.32.0 is released!

2 years agoNews By Saleh

Hi everyone,

Today I released version 0.32.0 of both the main framework and the live plugin.

This release brings several bug fixes, and improvements that I made based on feedback from the community. I highly recommend updating your setup to this version as soon as possible.

What's new?

  • [NEW FEATURE]: Added the watch_list function for monitoring custom info in live modes.
  • [NEW FEATURE]: A "Hyperparameters" section is displayed in backtest results if the strategy has any hyperparameters defined.
  • [NEW FEATURE] Added Bybit Perpetual driver for live trading.
  • [NEW FEATURE]: Added support for PostgreSQL ssl mode via POSTGRES_SSLMODE environment variable. PR submitted by Chirica Gheorghe. Thanks Chirica!
  • [IMPROVEMENT] Sends notification for the "reconnect" message of the WS connection in live mode
  • [IMPROVEMENT] Strategy execution for update_position is paused for 3 seconds if an order execution event was received before update_position was called. Reduces the number of unexpected behavior in live mode.
  • [IMPROVEMENT] Doesn't log fee-charging if fees are set to zero. Makes it easier to read the logs when developing.
  • [FIX] Fixed an issue in multi-threading which led to memory leaks when live trading on Linux machines.
  • [FIX] Fixed a rare KeyError when generating charts after backtests.
  • [FIX] Fixed handling of the market Partially filled orders in live mode for Binance Futures driver. (limit Partially filled orders were working fine)
  • [FIX] Improved request submission in live mode to prevent Connection reset by peer error.
  • [FIX] Fixed a bug in updates of exit-orders made using update_position().
  • [FIX] Fixed a bug in displaying the timeframe of candles in the live dashboard for timeframes bigger than 1m

Custom data for the live dashboard

The watch_list feature that this release introduces is very simple and yet powerful. It allows you to add any kind of data that you like to the live dashboard.

So if the info that you need hasn't been added to the dashboard yet, you can now add it yourself for your own use. Make sure to check it out.

Bybit

I released the Bybit driver for its testnet in the previous release. Luckily there were no reports of any issues with it. Although I still added improvements to it since then.

This release has the driver for Bybit's mainnet. Just remember to add environment values for it to your .env file:

# Testnet Bybit Perpetuals
TESTNET_BYBIT_PERPETUAL_API_KEY=
TESTNET_BYBIT_PERPETUAL_API_SECRET=

# Bybit Perpetuals
BYBIT_PERPETUAL_API_KEY=
BYBIT_PERPETUAL_API_SECRET=

As always with any exchange, it's best to create sub-accounts for each strategy and Bybit allows that.

What's next?

In the previous post, I mentioned that I'll be working on the "research" module. It's mostly ready, and so are its docs and a tutorial post which I think will be handy for those who have issues with setting up the perfect research environment.

So it wasn't completely done yet, and I wanted to get this release out the door as soon as possible because of the bug fixes it includes. So I'll be working on the "research" module in the next few days and release it in the next release.

Happy algo-trading,

— 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 🙏