“ahorrar” Código de respuesta

ahorrar

curl -X GET -u "publicKey:secretKey" \
     "https://api.hitbtc.com/api/2/margin/position"
Lovely Leopard

ahorrar

curl -X GET -u "publicKey:secretKey" \
    "https://api.hitbtc.com/api/2/account/crypto/is-mine/1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2"
Lovely Leopard

ahorrar

import requests
session = requests.session()
session.auth = ("publicKey", "secretKey")
b = session.delete('https://api.hitbtc.com/api/2/margin/account').json()
print(b)
Lovely Leopard

ahorrar

import requests
session = requests.session()
session.auth = ("publicKey", "secretKey")
b = session.get('https://api.hitbtc.com/api/2/margin/account/BTCUSD').json()
print(b)
Lovely Leopard

ahorrar

import requests
session = requests.session()
session.auth = ("publicKey", "secretKey")
b = session.delete('https://api.hitbtc.com/api/2/margin/position').json()
print(b)
Lovely Leopard

ahorrar

{
    "status": "success",
    "data": {
        "name": "test",
        "salary": "123",
        "age": "23",
        "id": 25
    }
}
Gorgeous Gharial

ahorrar

{
    "symbol": "BTCUSD",
    "leverage": "5.00",
    "marginBalance": "50.0000000000000",
    "marginBalanceOrders": "0",
    "marginBalanceRequired": "0",
    "createdAt": "2020-06-21T14:29:48.882Z",
    "updatedAt": "2020-06-21T14:29:48.882Z"
}
Lovely Leopard

ahorrar

curl -X PUT -u "publicKey:secretKey" \
    "https://api.hitbtc.com/api/2/margin/order/d8574207d9e3b16a4a5511753eeef175" \
    -d 'symbol=ETHBTC&side=sell&quantity=0.063&price=0.046016'
Lovely Leopard

ahorrar

save(data,file="data.csv")
Diana H

ahorrar

{
  "error": {
    "code": 500,
    "message": "Internal Server Error",
    "description": "account 7988921 already freeze or disabled"
  }
}
Lovely Leopard

Respuestas similares a “ahorrar”

Preguntas similares a “ahorrar”

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código