Closed yongkangc closed 9 months ago
The types for get_exchange_info has stopped working with the following error:
get_exchange_info
Err(ReqError(reqwest::Error { kind: Decode, source: Error("unknown variant `CURRENT_QUARTER DELIVERING`, expected one of `PERPETUAL`, `CURRENT_MONTH`, `NEXT_MONTH`, `CURRENT_QUARTER`, `NEXT_QUARTER`, ``", line: 1, column: 246483) }))
This is due to the binance response mixing contractStatus and contractType
And the ContractType structs does not account for this particular response.
API Url: https://fapi.binance.com/fapi/v1/exchangeInfo
Ok, I'm merging your PR, but this seems like an error on their end because this looks like invalid data
The types for
get_exchange_info
has stopped working with the following error:This is due to the binance response mixing contractStatus and contractType
And the ContractType structs does not account for this particular response.
API Url: https://fapi.binance.com/fapi/v1/exchangeInfo