Hello. I tried using position_information that calls the endpoint /fapi/v2/positionRisk. The parameter to position_information is Symbol structure, which has like 20 fields on non Optional members. Is this function implemented correctly? I'd expect to only pass symbol: String to get the data about my positions
Hello. I tried using
position_information
that calls the endpoint/fapi/v2/positionRisk
. The parameter toposition_information
isSymbol
structure, which has like 20 fields on non Optional members. Is this function implemented correctly? I'd expect to only passsymbol: String
to get the data about my positionspointers: https://github.com/Igosuki/binance-rs-async/blob/master/src/futures/account.rs#L203 https://github.com/Igosuki/binance-rs-async/blob/master/src/futures/rest_model.rs#L29 https://binance-docs.github.io/apidocs/futures/en/#position-information-v2-user_data
GET /fapi/v2/positionRisk (HMAC SHA256)
Get current position information.
Weight: 5
Parameters:
I don't know how I overlooked this yesterday, but the param just needs to implement IntoString conversion, so everything's okay.