Use camelcase version of private fapi method

closes #8680
This commit is contained in:
Matthias
2023-05-23 19:07:58 +02:00
parent 9ffdaceef3
commit 6292d1af6d

View File

@@ -65,7 +65,7 @@ class Binance(Exchange):
"""
try:
if self.trading_mode == TradingMode.FUTURES and not self._config['dry_run']:
position_side = self._api.fapiPrivateGetPositionsideDual()
position_side = self._api.fapiPrivateGetPositionSideDual()
self._log_exchange_response('position_side_setting', position_side)
assets_margin = self._api.fapiPrivateGetMultiAssetsMargin()
self._log_exchange_response('multi_asset_margin', assets_margin)