save
curl -X GET -u "publicKey:secretKey" \
"https://api.hitbtc.com/api/2/account/crypto/is-mine/1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2"
save
curl -X GET -u "publicKey:secretKey" \
"https://api.hitbtc.com/api/2/account/crypto/is-mine/1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2"
save
import requests
session = requests.session()
session.auth = ("publicKey", "secretKey")
b = session.delete('https://api.hitbtc.com/api/2/margin/account/BTCUSD').json()
print(b)
save
curl -X POST -u "publicKey:secretKey" "https://api.hitbtc.com/api/2/sub-acc/transfer" \
-d "subAccountId=7988900&amount=1¤cy=BTC&type=deposit"
save
curl -X PUT -u "publicKey:secretKey" \
"https://api.hitbtc.com/api/2/margin/account/BTCUSD" \
-d "marginBalance=123.44"
save
[
{
"id": 298724,
"symbol": "BTCUSD",
"quantity": "-0.00100",
"pnl": "0",
"priceEntry": "7933.30",
"priceMarginCall": "887772.25",
"priceLiquidation": "914625.61",
"createdAt": "2020-06-21T14:33:34.723Z",
"updatedAt": "2020-06-21T14:33:46.149Z"
}
]
save
{
"error": {
"code": 500,
"message": "Internal Server Error",
"description": "account 7988921 already freeze or disabled"
}
}
save
[
{
"id": 828680665,
"clientOrderId": "f4307c6e507e49019907c917b6d7a084",
"symbol": "ETHBTC",
"side": "sell",
"status": "partiallyFilled",
"type": "limit",
"timeInForce": "GTC",
"quantity": "13.942",
"price": "0.011384",
"avgPrice": "0.055487",
"cumQuantity": "5.240",
"createdAt": "2017-01-16T14:18:47.321Z",
"updatedAt": "2017-01-19T15:23:54.876Z"
},
{
"id": 828680667,
"clientOrderId": "f4307c6e507e49019907c917b6d7a084",
"symbol": "ETHBTC",
"side": "sell",
"status": "partiallyFilled",
"type": "limit",
"timeInForce": "GTC",
"quantity": "13.942",
"price": "0.011384",
"avgPrice": "0.045000",
"cumQuantity": "5.240",
"createdAt": "2017-01-16T14:18:50.321Z",
"updatedAt": "2017-01-19T15:23:56.876Z"
}
]
save
curl -X GET -u "publicKey:secretKey" \
"https://api.hitbtc.com/api/2/margin/account"
save
wscat -c wss://api.hitbtc.com/api/2/ws
{
"method": "login",
"params": {
"algo": "HS256",
"pKey": "3ef4a9f8c8bf04bd8f09884b98403eae",
"nonce": "N1g287gL8YOwDZr",
"signature": "b1c0ae399c2d341866a214f7d3ed755b821c1c36fc6f17083ef05fbb55b7f986"
}
}
save
curl -X GET -u "publicKey:secretKey" \
"https://api.hitbtc.com/api/2/account/crypto/addresses/NXT"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us