fees.Percentagenow supports charging fees in base currency.- Both
BacktestingDispatcherandRealtimeDispatchernow supportsubscribe_event_loop_startedto register handlers that are called once when the dispatch loop starts.
- Newer versions of kaleido cannot serialize Python Decimal objects to JSON.
- Performance optimizations.
- Account balance charts were subtracting borrowed balance twice.
- Candlestick charts.
- Technical indicators and custom charts can now set a custom marker for Plotly.
- Backtesting stop orders were being canceled if the stop price was not hit.
- Backtesting order updates were sometimes being processed after bar events. Order update events should get processed first.
- Backtesting fills had the datetime of the event and now they have the datetime of the bar where the fill occurred.
- Backtesting
OrderInfo.fill_pricewas being calculated using the base and quote amounts filled, and that was sometimes leading to invalid values.
- Added support for Python 3.14.
- Dropped support for Python 3.9.
- Added support for Binance order book diff events via websockets.
- Performance improvements for realtime dispatcher.
SchedulerQueue.peek_last_event_dtwas not returning the last event's datetime.
- Backtesting
OrderInfonow includes pair and order fills. - Backtesting exchange returns a full
OrderInfowhen creating an order. - Backtesting exchange support for immediate order processing.
- Backtesting margin level calculations were wrong.
margin_requirementwas moved fromMarginLoanConditionsintoMarginLoans
- No event was generated when a backtesting order got canceled.
- Added support for Binance order and user data events via websockets.
- Added support for backtesting order events.
- Added loan ids to order info.
bitstamp.orders.Order.amountwas returning the order amount left to be executed instead of the original amount.
- Updated dependencies and minimum Python version.
VolumeShareImpact.calculate_priceandVolumeShareImpact.calculate_amountwere failing when there was no available liquidity.
- Ignore events scheduled after the last event is procesed.
- Support for borrowing funds and opening short positions with the backtesting exchange.
- Parse BOM when opening CSV files and set the encoding appropriately
- Stop subtracting microseconds in RowParser
backtesting.fees.Percentagenow supports a minimum fee.
- Bug fix. Capture and log unhandled exceptions in scheduled jobs.
- Bug fix. Rounding in charts.
- Support for scheduling functions that will be executed at a given date and time.
- Improved dispatcher concurrency, specially for the realtime dispatcher.
- Bug fix in download_bars.
- Updated docs.
- Bug fix in samples.
- Bug fix in charts.
- Updates to Binance Bar events.
- Updated docs.
- Bug fix in samples.
- Support for charts.
- Updated docs.
- Bug fix in signal handling under Win32.
- Bug fix in datetime management when dealing with Bar events.
- Updated docs.
- Bug fix in samples.
- Added tool to download bars from Binance.