Author

Topic: BTC chart from link with 2 time stamp (Read 160 times)

newbie
Activity: 4
Merit: 1
August 20, 2020, 03:20:18 AM
#8
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
hero member
Activity: 1498
Merit: 711
Enjoy 500% bonus + 70 FS
August 19, 2020, 05:34:28 PM
#7
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.
newbie
Activity: 4
Merit: 1
August 19, 2020, 03:36:11 PM
#6
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
legendary
Activity: 2688
Merit: 3983
August 19, 2020, 01:16:11 PM
#5
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.
newbie
Activity: 4
Merit: 1
August 19, 2020, 09:38:19 AM
#4
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 !
legendary
Activity: 3472
Merit: 10611
August 19, 2020, 12:21:18 AM
#3
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.
copper member
Activity: 2142
Merit: 1305
Limited in number. Limitless in potential.
August 18, 2020, 07:28:41 PM
#2
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/
newbie
Activity: 4
Merit: 1
August 18, 2020, 04:58:10 AM
#1
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 !
Jump to: