Author

Topic: Price chart script (Read 647 times)

legendary
Activity: 1148
Merit: 1000
September 12, 2016, 04:57:26 AM
#7
Yes I have your scripts on my website, oke i will look for it

I don't really have loads of time at the moment (so i cannot write the complete script for you at the moment), but if you need help to get started, you can always PM me (in dutch if you want to)

That will be awesome, first i will make a script to test if it is not oke, i will pm
legendary
Activity: 3584
Merit: 5248
https://merel.mobi => buy facemasks with BTC/LTC
September 12, 2016, 04:55:18 AM
#6
Yes I have your scripts on my website, oke i will look for it

I don't really have loads of time at the moment (so i cannot write the complete script for you at the moment), but if you need help to get started, you can always PM me (in dutch if you want to)
legendary
Activity: 1148
Merit: 1000
September 12, 2016, 04:53:53 AM
#5
IIRC, i've helped you over PM a long time ago to fetch the data from the NLG-BTC api's of bleutrade.com, bittrex.com and litebit.eu. I've searched my PM archive, and here's the code:

Code:
$url 'https://www.litebit.eu/requests/jsonp.php?call=nlg';
$response file_get_contents($url);
$obj json_decode($responsetrue);
echo 
'sell : '$obj['sell'] . '
'
;
?>


Code:
$url 'https://bleutrade.com/api/v2/public/getticker?market=NLG_BTC';
$response file_get_contents($url);
$obj json_decode($responsetrue);
echo 
'ask : '$obj['result'][0]['Ask'] . '
'
;
?>


Code:
$url 'https://bittrex.com/api/v1.1/public/getmarketsummary?market=btc-nlg';
$response file_get_contents($url);
$obj json_decode($responsetrue);
echo 
'Bid : '$obj['result'][0]['Bid'] . '
'
;
?>


You'll need to save this data in your database, and use one of the open source tools to make a graph...

Yes I have your scripts on my website, oke i will look for it
legendary
Activity: 3584
Merit: 5248
https://merel.mobi => buy facemasks with BTC/LTC
September 12, 2016, 04:52:10 AM
#4
IIRC, i've helped you over PM a long time ago to fetch the data from the NLG-BTC api's of bleutrade.com, bittrex.com and litebit.eu. I've searched my PM archive, and here's the code:

Code:
$url 'https://www.litebit.eu/requests/jsonp.php?call=nlg';
$response file_get_contents($url);
$obj json_decode($responsetrue);
echo 
'sell : '$obj['sell'] . '
'
;
?>


Code:
$url 'https://bleutrade.com/api/v2/public/getticker?market=NLG_BTC';
$response file_get_contents($url);
$obj json_decode($responsetrue);
echo 
'ask : '$obj['result'][0]['Ask'] . '
'
;
?>


Code:
$url 'https://bittrex.com/api/v1.1/public/getmarketsummary?market=btc-nlg';
$response file_get_contents($url);
$obj json_decode($responsetrue);
echo 
'Bid : '$obj['result'][0]['Bid'] . '
'
;
?>


You'll need to save this data (or any other data you can fetch from an api) in your database instead of showing it on your screen, and use one of the open source tools to make a graph...
legendary
Activity: 1148
Merit: 1000
September 12, 2016, 04:50:09 AM
#3
Where do you want your website to fetch the data from? A altcoin trading platform? And does they accept API?

From bittrex to chart, just for the information
legendary
Activity: 1484
Merit: 1001
Personal Text Space Not For Sale
September 12, 2016, 04:46:23 AM
#2
Where do you want your website to fetch the data from? A altcoin trading platform? And does they accept API?
legendary
Activity: 1148
Merit: 1000
September 12, 2016, 04:44:03 AM
#1
I'm looking for a simpel script to show the charts on my website from a altcoin

example
Jump to: