Git Product home page Git Product logo

api-doc's People

Contributors

bitmaxkuobao avatar fuqi1001 avatar gw-gdm avatar liuh-gdm avatar liuzhiyanggdm avatar pangxie avatar petrovma avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api-doc's Issues

WebSockets from Javascript

image

It's not possible to make websocket connections with custom headers from javascript, you should offer an alternative method of authentication please.

Edit: There is a way

VIP level method

Hello.
It would be great to have a new API method which returns user's current VIP level.
Thank you.

Can't place order through api

While placing order it throws error, Please help me to resolve this issue

Code
let body = {
coid: coid,
time: timestamporder,
symbol: "ETH/BTC",
orderPrice: "0.020110",
orderQty: "0.1",
orderType: "limit",
side: "buy"
}
request({
url: 'https://bitmax.io/1/api/v1/order',
method: "POST",
json: true,
body: body,
headers: {
'x-auth-key': apikey,
'x-auth-signature': hashInBase641,
'x-auth-timestamp': timestamporder,
'x-auth-coid': coid
},
},
function (error, response, body) {
if (!error && response.statusCode == 200) {
console.log(body)
}else{
console.log(error);
}
}
);

Response

{ code: 2100, message: 'AccoutGroupMismatch' }

history

GET /api/v2/order/history don't work filter
options:

  • symbol : ["NEO/USDT", "BTC/USDT", null]
  • orderType ["limit", "market", "stop_limit", "stop_market", null]
  • side - ["buy", "sell", null]
  • status ["Filled", "Canceled", "Rejected", null]

always issue all filled orders

Volatility cards

Would be very interesting to have an endpoint for the volatility products

order/open - ApiSignatureFailure

I want get open orders.

created new function:

def user_open_orders(url, api_key, secret, account_group):
    ts = utc_timestamp()
    coid = uuid32()
    headers = make_auth_header(ts, "order/open", api_key, secret, coid)

    return GET(f"{url}/{account_group}/api/v1/order/open", headers=headers)

But get error:
{'code': 2100, 'message': 'ApiSignatureFailure'}

What is the problem?

Error404

When try to get requests.get("https://bitmax.io/api/user/info", headers=headers)
it returns: ERROR404 - The requested resource could not be found.

Instead error response

margin order

please do Retrieve a margin order with order id

Rate limits?

API docs don't seem to specify rate limits? Can't seem to find them anywhere on website either.

Support tells me it's 10 requests per second.

Suggest putting this and other limits at the very start of the doc.

Thanks!

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.