By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,665 Members | 1,478 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,665 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!
1 Week Ago #1
Share this Question
Share on Google+
5 Replies


gits
Expert Mod 5K+
P: 5,223
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?
1 Week Ago #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.
1 Week Ago #3

gits
Expert Mod 5K+
P: 5,223
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.
1 Week Ago #4

P: 1
Question about trading software?
1 Week Ago #5

gits
Expert Mod 5K+
P: 5,223
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.
1 Week Ago #6

Post your reply

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