okxapi / python-okx

422 stars 158 forks source link

Trade api doesn't work. #2

Closed Hearty07 closed 1 year ago

Hearty07 commented 1 year ago

{"code":"50004","data":[],"msg":"API endpoint request timeout "}, 400 image

okxapi commented 1 year ago

You may check if your ntp service works well. Also, you can get OKX service system time by the link as follows  https://www.okx.com/docs-v5/en/#rest-api-public-data-get-system-time

@.> Date:Wed, Mar 15, 2023, 16:03 Subject:[okxapi/python-okx] Trade api doesn't work. (Issue #2) @.> @.> {"code":"50004","data":[],"msg":"API endpoint request timeout "}, 400> [image: image]https://user-images.githubusercontent.com/37877173/225244973-d1378582-ee86-417d-a40c-05da0bad9575.png— Reply to this email directly,view it on GitHubhttps://github.com/okxapi/python-okx/issues/2, orunsubscribehttps://github.com/notifications/unsubscribe-auth/A3R7I5BVGGAMVJQWNLGULA3W4FZTVANCNFSM6AAAAAAV3ODL4I. You are receiving this because you are subscribed to this thread.[image: https://github.com/notifications/beacon/A3R7I5FZBZPOTRYPOL5VITLW4FZTVA5CNFSM6AAAAAAV3ODL4KWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHGBWXX3U.gif]Message @.>

Hearty07 commented 1 year ago

the REST API services are not available now ... { "code": "50001", "data": [], "msg": "服务暂时不可用,请稍后重试" }

okxapi commented 1 year ago

The demo trading is under maintenance. You may try later.

@.> Date:Wed, Mar 15, 2023, 21:40 Subject:Re: [okxapi/python-okx] Trade api doesn't work. (Issue #2) @.> @.>@.> the REST API services are not available now ... { "code": "50001", "data": [], "msg": "服务暂时不可用,请稍后重试" }— Reply to this email directly,view it on GitHubhttps://github.com/okxapi/python-okx/issues/2#issuecomment-1470030190, orunsubscribehttps://github.com/notifications/unsubscribe-auth/A3R7I5AX5IE2W3Q7G5EG2ELW4HBDNANCNFSM6AAAAAAV3ODL4I. You are receiving this because you commented.[image: https://github.com/notifications/beacon/A3R7I5ESMIVUL5NBYEBKA7LW4HBDNA5CNFSM6AAAAAAV3ODL4KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSXT3QW4.gif]Message @.***>

Hearty07 commented 1 year ago

Now the problem is solved