By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,491 Members | 3,230 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,491 IT Pros & Developers. It's quick & easy.

How to continuously capture a candlestick on an online chart?

P: 2
Couple of alternative ideas would be great!
Apr 10 '19 #1
Share this Question
Share on Google+
5 Replies

Expert Mod 5K+
P: 5,333
please specify the issue more - as i understand it - the base to build upon would be just some random website that displays some graph which values you basically want to read automatically off that webpage since you dont want to use a backendservice from some provider which basically would deliver you the values right away?
Apr 11 '19 #2

P: 2
Hi Gits,

Thanks. I want to record the candlestick as graphic/image and store it. The candlestick changes after some specified time like 1 minute, 3 minute, 5 minute etc. I want to record that candlestick for every change based on certain time frame.

Thanks again.
Apr 11 '19 #3

Expert Mod 5K+
P: 5,333
ok - so basically doing a 'screenshot' of the graph on the page according to a specifiable interval?

The problem with that is - that a webpage would have to be in a rendered state for that - meaning you would need to have a browser in which the graph is rendered - since this is usually done (in modern apps at least) by some javascript, websockets and canvas - which only 'live' at runtime and display what you want when the page is rendered. so you might use a PC and automate screenshots somehow or you can build an app for example with node.js and puppeteer or a similar package. basically you could look around website testing tools as well - they often have the ability to produce screenshots automatically - since its one of their purposes to do that for different browsers so that you can see where the page has issues.
Apr 11 '19 #4

P: 4
Question about trading software?
Apr 15 '19 #5

Expert Mod 5K+
P: 5,333
may be - but - for a trading software it would be absolutely pointless to work with images and polling intervals - for such software a real service provider should be used who delivers the data in realtime if needed - so that actually the values can be used in the software for doing whatever analysis or automatism. with plain images its hardly possible in a useful way.
Apr 15 '19 #6

Post your reply

Sign in to post your reply or Sign up for a free account.