sonvister/Binance

Is it possible to create new Symbols?

Opened this issue · 1 comments

Like:
DOT, UNI, SOL, TRX, CAKE, LUNA.

Ty.

For me it worked like this:

// run before application start
Symbol.UpdateCacheAsync(new BinanceApi()).Wait();

// ticker passed as a string variable
webSocketClient.Subscribe("SOL_USDT", evt =>
{
    var side = evt.Trade.IsBuyerMaker ? "SELL" : "BUY ";
	
    // Handle aggregate trade events.
    Console.WriteLine($"{evt.Trade.Symbol} {side} {evt.Trade.Quantity} @ {evt.Trade.Price}");
});