TradingView-API icon indicating copy to clipboard operation
TradingView-API copied to clipboard

How to run this app

Open leapence opened this issue 3 years ago • 4 comments

I only have a very basic knowledge of java and i would really like to know how to run this app. I am using a mac OSX. I installed node and tried a few commands such us - "node CustomTimeframe.js" but would like to see more... Would anyone tell me how to or point me in the right direction? Much appreciated. Perhaps including a simple how to on description would do it

leapence avatar Jun 03 '22 18:06 leapence

1- You should create a new node app. In command line create a folder, then cd to that folder and type "node init", then complete the wizard. 2- Inside the new created app folder, follow installation instructions for this repo. Type "npm i @mathieuc/tradingview". 3- Edit index.js (if not exists create it) then copy one of the files content from examples folder. 4- In command line, type "node index.js" and observe the output.

It should be straight forward process.

doohab avatar Jun 04 '22 22:06 doohab

just a few line in the console without a chart , is that all ?

qrq avatar Sep 28 '22 18:09 qrq

just a few line in the console without a chart , is that all ?

AFAIK, yes. This API is for analyzing purposes. I am using Mathieu's API for calculating sell/buy signals so I don't need visualization. Tradingview actually has an API of its own that provide charts, but it's way complicated for me.

However, I think with some coding you can convert output to chart in Javascript, its just numbers tho.

doohab avatar Sep 28 '22 22:09 doohab

just a few line in the console without a chart , is that all ?

AFAIK, yes. This API is for analyzing purposes. I am using Mathieu's API for calculating sell/buy signals so I don't need visualization. Tradingview actually has an API of its own that provide charts, but it's way complicated for me.

However, I think with some coding you can convert output to chart in Javascript, its just numbers tho.

thanks for replay

i also try to get buy and sell signal

but is there way to plot ( this ) signals to chart ?

for example get session chart and link it to div by id ... etc

this small step can make a super up level to this amazing code

qrq avatar Oct 05 '22 03:10 qrq