binance / binance-connector-dotnet

Lightweight connector for integration with Binance API
MIT License
207 stars 69 forks source link

Market.KlineCandlestickData interval is not using value but the whole enum #2

Closed atortajadagartner closed 2 years ago

atortajadagartner commented 2 years ago

Executing this method raises an exception complaining about format being incorrect. should be:

 query: new Dictionary<string, object>
                {
                    { "symbol", symbol },
                    { "interval", interval.Value },
                    { "startTime", startTime },
                    { "endTime", endTime },
                    { "limit", limit },
                });
tantialex commented 2 years ago

Moving discussion regarding this issue to https://github.com/binance/binance-connector-dotnet/issues/3