Author

Topic: btc live price update on html page, how? (Read 979 times)

hero member
Activity: 636
Merit: 500
June 17, 2013, 10:55:50 AM
#8
nice, i rewiewed all posts and was helpful ,
Thanks
 Smiley
sr. member
Activity: 378
Merit: 250
Born to chew bubble gum and kick ass
First of all thanks for reading,
i was wondering is it possible to put live price update on my http site, price will be from mtgox and btc-e?


Cheers Smiley

Go there: https://www.tradingview.com/widget/ change GOOG into BTCUSD and then paste the code that is generated into your html website.

sr. member
Activity: 420
Merit: 250
Yes, you will need to use php to make a call to mtgox and get the live price.
I think it can be done solely with Javascript. https://en.bitcoin.it/wiki/MtGox/API/Streaming#Connecting

First off that is web sockets, so you would probably get every ticker, and most the time it is the same price. It also keeps the client having an open socket to mt gox. Also web sockets are kinda iffy they break a lot. While the short answer you can do web sockets, you can't do javascript polling, cause I know for chrome that sends up a red flag of cross site scripting.
This is true, however it's a solution that works on a standalone HTML page, which appears to be what thread starter wanted.
legendary
Activity: 1498
Merit: 1000
Yes, you will need to use php to make a call to mtgox and get the live price.
I think it can be done solely with Javascript. https://en.bitcoin.it/wiki/MtGox/API/Streaming#Connecting

First off that is web sockets, so you would probably get every ticker, and most the time it is the same price. It also keeps the client having an open socket to mt gox. Also web sockets are kinda iffy they break a lot. While the short answer you can do web sockets, you can't do javascript polling, cause I know for chrome that sends up a red flag of cross site scripting.
sr. member
Activity: 420
Merit: 250
Yes, you will need to use php to make a call to mtgox and get the live price.
I think it can be done solely with Javascript. https://en.bitcoin.it/wiki/MtGox/API/Streaming#Connecting
hero member
Activity: 686
Merit: 504
always the student, never the master.
Tnx for the fast response, i found another topic where member ask the same, it looks like i cant do this on free server for uploading site online

dude, just sign up for php webhosting.

http://3owl.com is a good place to start
hero member
Activity: 636
Merit: 500
Tnx for the fast response, i found another topic where member ask the same, it looks like i cant do this on free server for uploading site online
hero member
Activity: 636
Merit: 500
First of all thanks for reading,
i was wondering is it possible to put live price update on my http site, price will be from mtgox and btc-e?


Cheers Smiley
Jump to: