okex-api-v5's People
Forkers
youngsion lanzhizhuxia q629988171 kylingood csxuyang tanliang2 junine1210 kxylxx superlm10 eddylapis myethworks latltt crazybanboo deepwaver arka-cell hsd815 sohwak laalaguer gafek bianzll sawanhai canb2c2 joheace silverbooker ferchault patricktruebe p750 kamping22 wen6780 ssssssssassssss moon548834 cohenstar riversky0014 cholianlll liruixuan-xidian naiyerazm oblivioustozero skyryu garysdevil quanteen sydowma baizhizhen py503 windchild oz-t qiushui777 rainbird baiqiqingshu cdrpico tovi-a pythonok jiliu88 williamjia yangyuan6 snowflowersnowflake ivanc5po furioushelicopter reikano lizg2016 hugh1121 easymanlo c-jiazheng chinshou xy12138 lei1996 keien411 notgood0937 chrisyue16888 cookics alifa433 yonghanzhuce monsmile xiaoguotu wangjie10000 pottertech qiujian444 kim-xie greenjoson crispymcbacon94 hamianpapa dasein108 wahyuarm old-flat-company skymirros zjx0000zjx ecnughost jaecoding szfst lizhaosheng ranuranjika herrylos3755 goodmorningsad jack495495 lxbxinwei rjshuang freereaper t1ck-h whitespur bryantian tianjixuetuokex-api-v5's Issues
这个库写的太优雅了呀,够我学一阵子的了
Traling Stop Parameters
according to official okex api document ,Place algo order:
in Trailing Stop Order part, there is 3 parameter called ; callbackRatio - callbackSpread - activePx
but in the place_algo_order method there is no such parameter. can you help me to find this methods ?
Broker id of APIKey does not match current environment
Hi, I can't wrap my head around this. Is there any reason why I'm getting "Broker id of APIKey does not match current environment" when using "TradeAPI.get_order_list()"? Obviously in Okex docs there is no explanation of this error, any clues?
Hello, is this the official repo?
okex.exceptions.OkexAPIException: API Request Error(code=50004): Endpoint request timeout.
Hello Everyone,
I have created a trading bot with python. My program executes like expected for quite a while and then crashes with this error:
Traceback (most recent call last): File "STARLELON.py", line 62, in <module> balance = accountAPI.get_account() File "/home/dev/test/okex-api-v5/okex/Account_api.py", line 22, in get_account return self._request_with_params(GET, ACCOUNT_INFO, params) File "/home/dev/test/okex-api-v5/okex/client.py", line 58, in _request_with_params return self._request(method, request_path, params) File "/home/dev/test/okex-api-v5/okex/client.py", line 50, in _request raise exceptions.OkexAPIException(response) okex.exceptions.OkexAPIException: API Request Error(code=50004): Endpoint request timeout.
I have tried changing the domain from okex to the new one but that didn't change something.
I am not really sure how to solve this.
Regards,
Angelo
Is there an api for getting the balance of funding account?
get_balances() seems return the trading account balance for one token, but what if I want to get funding account balance? Is there an api for this?
最新的api需要处理params里的None参数不然报400
我传参之前加一波params = clean_dict_none(params)
就好了
def clean_dict_none(d: dict) -> dict:
result = {}
for key in d:
if d[key] is None:
continue
result[key] = d[key]
return result
websocket一直连接不上,rest正常连接
websocket正常。rest连接不上
httpx.ConnectError: [Errno 11004] getaddrinfo failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.