Bitcoin Forum

Economy => Service Discussion => Topic started by: blockblock on August 18, 2020, 09:58:10 AM



Title: BTC chart from link with 2 time stamp
Post by: blockblock on August 18, 2020, 09:58:10 AM
Hi,
Im looking for a way to have this
https://api.blockchain.info/charts/previews/market-price.png?start=1587128929&lang=en&h=600&w=1200
a chart from a url with the variables in url
Also need to be intraday or hour scale or minute scale 
blockchain.info is only day scale, not less
needs to include timestamp start and idealy timestamp finish.

thank you  for your help !


Title: Re: BTC chart from link with 2 time stamp
Post by: bL4nkcode on August 19, 2020, 12:28:41 AM
You mean you want someone to develop something like that? Or something existing?

Found something like that on https://www.kitco.com/bitcoin-price-charts-usd/ using tradingview chart, though it doesn't have any variable parameters required in the url.

Look
https://www.tradingview.com/x/BLO36swk/


Title: Re: BTC chart from link with 2 time stamp
Post by: pooya87 on August 19, 2020, 05:21:18 AM
blockchain.com (.info) is a block explorer not a bitcoin exchange so it doesn't have that many price related options. if you are looking for precise price movements with different time scales then your only option is the actual bitcoin exchanges (which these explorers and other price reporting tools also use).
the API you are looking for is the OHLC data (Open High Low Close prices) which usually can be seen in different time frames. i know Bitstamp offers this API endpoint. you can check other exchanges too.
and obviously the exchange website itself also has a chart that can be viewed in different time scales.


Title: Re: BTC chart from link with 2 time stamp
Post by: blockblock on August 19, 2020, 02:38:19 PM
1st thank you for the answers, its very appreciated !
if I go for Bitstamp there is a lot to script on my side ....
they dont have a already made dynamic ".png" (php) like this https://uk.advfn.com/p.php?pid=staticchart&s=COIN%5EBTCUSD&t=37&p=0&dm=0&vol=0&width=300&height=190&min_pre=0&min_after=0

I'm open for any other proposition thanks again !


Title: Re: BTC chart from link with 2 time stamp
Post by: hugeblack on August 19, 2020, 06:16:11 PM
Check this --->  https://bitcointicker.co/   I think you will get more data when using the link above.
It will give you more data, but I think that defining the price needs to know the platform you are trading on because most of these sites give average prices.
Blockchain.info and CMC are the worst because they give the closing time and the opening price.
Generally, why do you need this data, you may get a more accurate answer if you give us more details.


Title: Re: BTC chart from link with 2 time stamp
Post by: blockblock on August 19, 2020, 08:36:11 PM
Hey guys again thank you so much for getting around this.
Yes you are right more information will help.
So its simple. the need here is to have a quick way to share a chart on social media about BTC evolution using a link->picture
like in twitter pasting link will result in picture preview display within social media

That is the reason why interactive (JS) graph links will not do, also THE MOST IMPORTANT :
I want to be able to give a timestamp in URL for starting point until NOW and/or idealy timestamp2 in case I have to share about historical past moments.
most moments will be short period like intradays scales , 1h scales, 30min scales, etc..

This is pretty close of the expected result https://uk.advfn.com/p.php?pid=staticchart&s=COIN%5EBTCUSD&t=37&p=0&dm=0&vol=0&width=300&height=190&min_pre=0&min_after=0

Thank guys


Title: Re: BTC chart from link with 2 time stamp
Post by: GeorgeJohn on August 19, 2020, 10:34:28 PM
Hi,
Im looking for a way to have this
https://api.blockchain.info/charts/previews/market-price.png?start=1587128929&lang=en&h=600&w=1200
a chart from a url with the variables in url
Also need to be intraday or hour scale or minute scale 
blockchain.info is only day scale, not less
needs to include timestamp start and idealy timestamp finish.

thank you  for your help !

What exactly do you need
You need from the chat
That required assistance
From people, because I have gone through the link,what I'm seeing there is chat.

The information right there is not cleared
To my understanding.


Title: Re: BTC chart from link with 2 time stamp
Post by: blockblock on August 20, 2020, 08:20:18 AM
Let me explain again very simply

I want to share quickly in FB/ twitter a chart of the BTC and comment it
using time stamps within the url of the picture in order to chunk the specific timeframe I am displaying and commenting
needs to be a png/jpg not an outside interactive JS chart

for exemple something like this https://api.blockchain.info/charts/previews/market-price.png?start=1587128929&lang=en&h=600&w=1200
can you see the epoch time in url ? this is perfect
In fact this is completing all the requierment exept one. Its not possible to have intraday charts
And my comments are going to be intraday

thank you