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.

Last updated