Kucoin / kucoin-futures-go-sdk

MIT License
14 stars 27 forks source link

Calling to get Order Book for Futures API results in 404 error #10

Closed henryksarat closed 3 months ago

henryksarat commented 1 year ago

When calling the Level2Snapshot and Level3Snapshot API's I get a 404.

Example:

kumex.DebugMode = true
s := kumex.NewApiService(
kumex.ApiBaseURIOption("https://api.kucoin.com"),
kumex.ApiKeyOption("EDITED_OUT_FOR_GITHUB"),
kumex.ApiSecretOption("EDITED_OUT_FOR_GITHUB"),
kumex.ApiPassPhraseOption("EDITED_OUT_FOR_GITHUB"),
kumex.ApiKeyVersionOption("ApiKeyVersionV2"),
)

//resp, _ := s.Level2Snapshot("XBTUSDM")
resp, _ := s.Level3Snapshot("XBTUSDM")
ISAAC-XXYYZZ commented 3 months ago

This interface has been deprecated and will be removed from the SDK in future updates.