Rename ORDERS_ALGO_OENDING to ORDERS_ALGO_PENDING

强迫症
This commit is contained in:
WoL 2023-08-25 20:31:18 +08:00 committed by okxapi
parent d95d1aea74
commit c4e7a98b0e
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class TradeAPI(OkxClient):
algoClOrdId=''): algoClOrdId=''):
params = {'ordType': ordType, 'algoId': algoId, 'instType': instType, 'instId': instId, 'after': after, params = {'ordType': ordType, 'algoId': algoId, 'instType': instType, 'instId': instId, 'after': after,
'before': before, 'limit': limit, 'algoClOrdId': algoClOrdId} 'before': before, 'limit': limit, 'algoClOrdId': algoClOrdId}
return self._request_with_params(GET, ORDERS_ALGO_OENDING, params) return self._request_with_params(GET, ORDERS_ALGO_PENDING, params)
# Get Algo Order History # Get Algo Order History
def order_algos_history(self, ordType, state='', algoId='', instType='', instId='', after='', before='', limit=''): def order_algos_history(self, ordType, state='', algoId='', instType='', instId='', after='', before='', limit=''):