Skip to content

Commit

Permalink
Fix for orderbook creation via factory
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Nov 29, 2024
1 parent fa4324d commit ffb7294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ByBit.Net/SymbolOrderBooks/BybitOrderBookFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public BybitOrderBookFactory(IServiceProvider serviceProvider)
/// <inheritdoc />
public ISymbolOrderBook Create(SharedSymbol symbol, Action<BybitOrderBookOptions>? options = null)
{
var symbolName = BybitExchange.FormatSymbol(symbol.BaseAsset, symbol.QuoteAsset, symbol.TradingMode, symbol.DeliverTime);
var symbolName = symbol.GetSymbol(BybitExchange.FormatSymbol);
if (symbol.TradingMode == TradingMode.Spot)
return CreateSpot(symbolName, options);

Expand Down

0 comments on commit ffb7294

Please sign in to comment.