GoldCoin Talk
Main Category => Project Development => Topic started by: bustingbuster on November 19, 2013, 06:09:49 AM
-
Hello guys, As my part of contribution i made a simple GoldCoin price checking website. It will show you the price per each goldcoin can be exchanged and you can calculate the price of "x" gold coins. This is just like http://preev.com but for gold coins made by me.
Check HERE : http://gld.skillerzforum.com/
I am planning to make many things more to help GLDCOIN.
-Thanks-
-
Nice job
Thanks
-
Great job!
These are exactly the kind of community contributions that make Goldcoin so special! :D
-
Thanks for that!
I've bookmarked it and will be using it often!
-
bookmarked and appreciated,thanks!
-
bump
for people who haven't seen this.
-
Bookmarked cheers ;)
-
whats going on? its worth 0?
-
whats going on? its worth 0?
Cryptsy is working on their wallet server.
Their API which the price checker depends upon is offline and should return shortly.
-
thumbs up, lot of help for all
-
Cool added and hey were at 5c now
-
GoldCoin is really the best, :D
-Thanks-
-
I like it! Does exactly what it needs to do. Thanks! :)
-
bumping this up for newbies.
-
Haha i was just about to build one myself and then i saw this :)
Great initiative!
-
I would just like to ask how this price checker works. Does it use Cryptsy's API to check for GLD/BTC and than some other API to check BTC/USD or is there some other magic?
-
I would just like to ask how this price checker works. Does it use Cryptsy's API to check for GLD/BTC and than some other API to check BTC/USD or is there some other magic?
Uses cryptsy's api for gld/btc price and mtgox's api for btc/usd price and multiply ;).
-Thanks-
-
Is GLD traded (in $, not other coins) on any exchange? I can't seem to find any.
-
Is GLD traded (in $, not other coins) on any exchange? I can't seem to find any.
Not yet.
-
It looks busted right now:
$ curl http://gld.skillerzforum.com/system/lazy2.php
0.00000
-
I wrote my own during the down time in Python.
If someone is willing to donate 5 GLD, i'll modify my python script to work with Qpython, which would allow you to access the price quotes via the local browser on their android device.
for example, start the script with Qpython, and then open up a browser and goto http://localhost/ticker.py then the current prices will be displayed every time the page is refreshed.
-
my python script is better.. LOL :P
-
yea its been 0 according to ur site for a while
Sent from my Nexus 7 using Tapatalk
-
Its fixed, Idk what happened but the mtgox's api didn't retrieve the btc's price for a while then after sometime its automatically fixed :P.
Now its alright.
-Thanks-
-
I dont know if I should trust this or http://coinmarketcap.com/
-
try this python script that i wrote. It uses the APIs from Cryptsy and BTCe.
#!/usr/bin/python
import httplib
import urllib
import json
from decimal import *
def CryptsyTickerAPI(marketID):
# Get current Buy/Sell values for a given marketID
headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"}
params = ''
conn = httplib.HTTPConnection('pubapi.cryptsy.com:80')
# Sometimes the connection times out (slow connections) or the network is down
# Catch the error so that the entire script doesn't crash
try:
conn.request('GET', '/api.php?method=singlemarketdata&marketid=' + str(marketID), params, headers)
response = conn.getresponse()
data = json.load(response)
buyPrice = data["return"]["markets"]["GLD"]["buyorders"][0]['price']
sellPrice = data["return"]["markets"]["GLD"]["sellorders"][0]['price']
conn.close()
return buyPrice, sellPrice
except:
TickerAPI(marketID)
# Get current Buy/Sell data
def BTCeTicker(pair):
# pair can be: ltc_usd, btc_usd, etc...
# reqType can be: ticker, trades, or depth
# Get ticker information
headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"}
params = ''
#conn = httplib.HTTPSConnection('btc-e.com')
try:
conn = httplib.HTTPSConnection("btc-e.com")
conn.request('GET', '/api/2/' + pair + 'ticker', params, headers)
response = conn.getresponse()
data = json.load(response)
buyPrice = data['ticker']['buy']
sellPrice = data['ticker']['sell']
conn.close()
return buyPrice, sellPrice
except:
print 'Connection failure...retrying.'
BTCeTicker(pair)
LTCGLD_currentPrice = CryptsyTickerAPI(36)
LTCUSD_currentPrice = BTCeTicker('ltc_usd/')
GLDUSD_currentBuy = round(Decimal(LTCGLD_currentPrice[0]) * Decimal(LTCUSD_currentPrice[0]), 6)
GLDUSD_currentSell = round(Decimal(LTCGLD_currentPrice[1]) * Decimal(LTCUSD_currentPrice[1]), 6)
print 'Content-type:text/html\r\n\r\n'
print '<html>'
print '<head>'
print '<title>Current GLD/USD exchange Prices on Cryptsy.com</title>'
print '</head>'
print '<body>'
print '<center>Current GLD/USD exchange Prices on Cryptsy.com</center>'
print '<center>compliments of the Cryptsy and BTC-e Ticker APIs</center>'
print '<p>'
print 'Current Buy: ' + '<b>' + str(GLDUSD_currentBuy) + '</b><br>'
print 'Current Sell: ' + '<b>' + str(GLDUSD_currentSell) + '</b>'
print '<p>'
print '<p>'
print 'Note ** Later versions of this script will include an interactive CGI interface so that more alt-currencies can be used'
print '<p><p>'
print 'If you found this script useful consider donating a little bit of GLD here:<p>'
print 'ECQatb9BMuEFmPDUmMWypvFpwiMUwEv6au <p>'
print 'contact: miner007 (celtic_tigger1(a.t.)hotmail.com)'
print '</body>'
print '</html>'
-
I dont know if I should trust this or http://coinmarketcap.com/
Both shows similar prices just a bit different due to btc price differences.
-Thanks-