BtcTurk | Kripto API Documentation
  • General Information
  • API Access Permissions
  • Data Center
  • Recent changes
  • Authentication
    • Authentication V1
    • Usage
  • Public Endpoints
    • All Public Endpoints
    • Get Exchange Info
    • Get Tickers
    • Get OrderBook
    • Get Trades
    • Get OHLC Data
    • Get Kline Data
  • Private Endpoints
    • All Private Endpoints
    • Get Account Balance
    • Get User Transactions
    • Get Fiat Transactions
    • Get Crypto Transactions
    • Get Open Orders
    • Get All Orders
    • Get Single Order
    • Submit an Order
    • Cancel an Order
  • Rate Limits
  • Websocket Feed
    • WebSocket Authentication
    • Channel, Event and Model
    • Models
    • TradingView
  • Errors
  • Error Handling For Order Operations
    • Retry Strategy Guideline
  • Pairs Scale (Quantity/Price)
  • FAQ (Frequently Asked Questions)
  • Contact Us
Powered by GitBook
On this page

Was this helpful?

  1. Websocket Feed

TradingView

TradingView data is transmitted over the tradeview channel. PAIR_RESOLUTION events must be subscribed to on this channel . Supported resolution values ​​for TradingView data are 1, 5, 15, 30, 60, 240 for minutes up to 4 hours . Daily, weekly and monthly ones are 1D, 1W, 1M . For example, a user who wants to view the trading hours BTCTRY follow the data tradeview the remaining BTCTRY_60 must subscribe to the event. With another example, if you want to follow the daily ETHTRY trading view data, you should subscribe to the ETHTRY_1D event of the tradeview channel . NOTE: Only the last column data is sent via WebSocket for TradingView. For example, when the time is 14:40:50, the minute data represents data between 14:40 and 14:41, and the hourly data represents data between 14:00 and 15:00. The data sent contains the UNIX timestamp value, which specifies the time zone for which the data belongs.

428

TradingView

C

A message sent from the server to the client. Contains the current candle data for the pair and resolution specified in the event.

type

number

Model type

D

number

UNIX timestamp, in seconds.

P

string

Pair. For example BTCTRY

R

string

Resolution. For example 1W.

O

Stringer

Open. The opening value of the data.

H

Stringer

High. The highest value the data reaches.

L

Stringer

Lower. The lowest value that the data reaches.

C

Stringer

Close. The last value the data takes. (Ticker last)

V

string

Volume. The total volume in the specified time.

PreviousModelsNextErrors

Last updated 3 years ago

Was this helpful?