File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1717from .helpers import interval_to_milliseconds , convert_ts_str , get_loop
1818from .exceptions import BinanceAPIException , BinanceRequestException , NotImplementedException
1919from .enums import HistoricalKlinesType
20- # test
2120
2221class BaseClient :
2322
@@ -3018,8 +3017,10 @@ def stream_close(self, listenKey):
30183017
30193018 # Margin Trading Endpoints
30203019
3021- def get_pm_account (self , ** params ):
3020+ def get_portfolio_margin_account (self , ** params ):
30223021 return self ._request_portfolio_margin_api ('get' , 'balance' , True , data = params )
3022+ def portfolio_margin_position_information (self , ** params ):
3023+ return self ._request_portfolio_margin_api ('get' , '/cm/positionRisk' , True , data = params )
30233024
30243025 def get_margin_account (self , ** params ):
30253026 """Query cross-margin account details
You can’t perform that action at this time.
0 commit comments