Code Monkey home page Code Monkey logo

okex-api-v5's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

okex-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?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.