Vereiste be higher than 0.01 for BTC, 0.1 for LTC or 0.01 for ETH.

Example

Terugwedstrijd Values

Request Parameters

btc_cny ltc_cny eth_cny etc_cny bch_cny

Example

Comeback Values

Request Parameters

btc_cny ltc_cny eth_cny

value: voorwaarde be inbetween 1 – 200

Example

Terugwedstrijd Values

Request Parameters

btc_cny ltc_cny eth_cny etc_cny bch_cny

get recently 60 chunks of gegevens kicking off from the given tid (optional)

URL https://www.okcoin.cn/api/v1/kline.do approximately 2000 lumps of gegevens are returned each cycle

Example

Terugwedstrijd Values

Request Parameters

btc_cny ltc_cny eth_cny etc_cny bch_cny

1min : 1 minute candlestick gegevens

3min : Trio minutes candlestick gegevens

5min : Five minutes candlestick gegevens

15min : 15 minutes candlestick gegevens

30min : 30 minutes candlestick gegevens

1day : 1 day candlestick gegevens

3day : Trio days candlestick gegevens

1week : 1 week candlestick gegevens

1hour : 1 hour candlestick gegevens

2hour : Two hours candlestick gegevens

4hour : Four hours candlestick gegevens

6hour : 6 hours candlestick gegevens

12hour : 12 hours candlestick gegevens

specify gegevens size to be acquired

timestamp(eg:1417536000000). gegevens after the timestamp will be returned

Request frequency 6 times/2s

Example

Comeback Values

Request Parameters

apiKey of the user

signature of request parameters

Request frequency 20 times/2s

Example

Terugwedstrijd Values

Request Parameters

apiKey of the user

btc_cny ltc_cny eth_cny etc_cny bch_cny

order type: limit order(buy/sell) market order(buy_market/sell_market)

order price. For limit orders, the price vereiste be inbetween 0

Related movie:


1,000,000. Significant: for market buy orders, the price is to total amount you want to buy, and it voorwaarde be higher than the current price of 0.01 BTC (ondergrens buying unit), 0.1 LTC or 0.01 ETH. For market sell orders, the price is not required

order quantity. Vereiste be higher than 0.01 for BTC, 0.1 for LTC or 0.01 for ETH.For market buy roders, the amount is not required

signature of request parameters

Request frequency 6 times/2s

Example

Come back Values

Request Parameters

apiKey of the user

signature of request parameters

btc_cny ltc_cny eth_cny etc_cny bch_cny

get 600 lumps of gegevens embarking from the given tid (Required)

Request frequency 20 times/2s

Example

Terugwedstrijd Values

Request Parameters

apiKey of the user

btc_cny ltc_cny eth_cny etc_cny bch_cny

optional, order type for limit orders (buy/sell)

JSON string Example: [,,] max order number is 5,for ‘price’ and ‘amount’ parameter, refer to trade/API. Final order type is determined primarily by ‘type’ field within ‘orders_data’ and subsequently by ‘type’ field (if no ‘type’ is provided within ‘orders_data’ field)

signature of request parameters

Request frequency 20 times/2s

Example

Come back Values

Request Parameters

apiKey of the user

btc_cny ltc_cny eth_cny etc_cny bch_cny

order ID (numerous orders are separated by a comma ‘,’, Max of Three orders are permitted vanaf request)

signature of request parameters

Related movie:


Request frequency 20 times/2s (unfilled orders)

Example

Terugwedstrijd Values

Request Parameters

apiKey of the user

btc_cny ltc_cny eth_cny etc_cny bch_cny

if order_id is -1, then terugwedstrijd all unfilled orders, otherwise come back the order specified

signature of request parameters

Request frequency 20 times/2s

Example

Comeback Values

Request Parameters

apiKey of the user

query type: 0 for unfilled (open) orders, 1 for packed orders

btc_cny ltc_cny eth_cny etc_cny bch_cny

order ID (numerous orders are separated by ‘,’, 50 orders at most are permitted vanaf request)

signature of request parameters

Example

Terugwedstrijd Values

Request Parameters

apiKey of the user

btc_cny ltc_cny eth_cny etc_cny bch_cny

query status: 0 for unfilled orders, 1 for packed orders

current pagina number

number of orders returned vanaf pagina, maximum 200

signature of request parameters

Example

Terugwedstrijd Values

Request Parameters

apiKey of the user

signature of request parameters

btc_cny ltc_cny eth_cny etc_cny bch_cny

network transaction toverfee. By default, toverfee is inbetween 0.002 – 0.005 for BTC, and 0.001 – 0.Two for LTC, and ETH is 0.01, and 0.0001 – 0.Two for ETC, and 0.0005 – 0.002 for BCH transaction gets confirmed quicker with higher fees. For withdraws to another OKCoin address, chargefee can be 0 and the withdraw will be 0 confirmation spil well.

Leave a Reply

Your email address will not be published. Required fields are marked *