Is there any way to use node.js or a backend service to get a picture of a chart from tradingview ? The tradingview API that is provided does not provide any options for this.
You need to create backend services to serve serval endpoints.
Use UDF - It's an HTTP-based protocol that is designed to deliver data to the Charting Library in a simple and efficient way.
Services(APIs) endpoints which you need to create some of them are:
/config
/symbol_info?group=<group_name>
/symbols?symbol=<symbol>
For candle/bar data you have to create: URL - GET /history?symbol=<ticker_name>&from=<unix_timestamp>&to=<unix_timestamp>&resolution=<resolution>
Refer: https://github.com/tradingview/charting_library/wiki/UDF
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.