python-binance
python-binance copied to clipboard
GET /fapi/v1/positionRisk is retired, please use GET /fapi/v2/positionRisk
How can i change to use v2 not v1 when calling
futures_position_information() ?
it loads by default V1.
FUTURES_API_VERSION = 'v1' FUTURES_API_VERSION2 = "v2"
Thank you for your help
It should be using the version 2 already, are you using the latest version which is 1.0.19?
Hello @AnimusXCASH, it's using v2 already: https://github.com/sammchardy/python-binance/blob/master/binance/client.py#L7472
Please make sure your python-binance version is updated!