JKorf / Bitget.Net

A C# .netstandard client library for the Bitget REST and Websocket Spot and Futures API focusing on clear usage and models
https://jkorf.github.io/Bitget.Net/
MIT License
12 stars 9 forks source link

BitgetStreamKlineInterval missing several UTC values #10

Closed mikejlachlan closed 2 months ago

mikejlachlan commented 7 months ago

Describe the bug As listed in docs https://www.bitget.com/api-doc/contract/websocket/public/Candlesticks-Channel, UTC enum values are not present in the BitgetStreamKlineInterval enum which is a required parameter when utilising FuturesApi.SubscribeToKlineUpdatesAsync() function. Can all UTC variants be made available in this enum so we can subscribe to those channels?

JKorf commented 7 months ago

Hi, the implementation is currently based on the V1 API (https://bitgetlimited.github.io/apidoc/en/spot/#welcome). I do have planned to update it to V2, and I'll make sure to update the kline interval values with it

mikejlachlan commented 6 months ago

Great, thanks

JKorf commented 2 months ago

V2 API is implemented, including the new kline intervals