GoldCoin Talk

Main Category => Project Development => Topic started by: bustingbuster on November 19, 2013, 06:09:49 AM

Title: GoldCoin Price Checker !
Post 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-
Title: Re: GoldCoin Price Checker !
Post by: CryptoFreedom4Me on November 19, 2013, 06:43:37 AM
Nice job
Thanks
Title: Re: GoldCoin Price Checker !
Post by: MicroGuy on November 19, 2013, 07:02:03 AM
Great job!

These are exactly the kind of community contributions that make Goldcoin so special!  :D
Title: Re: GoldCoin Price Checker !
Post by: Alty on November 19, 2013, 03:29:37 PM
Thanks for that!

I've bookmarked it and will be using it often!
Title: Re: GoldCoin Price Checker !
Post by: oneinamillion on November 20, 2013, 01:23:07 PM
bookmarked and appreciated,thanks!
Title: Re: GoldCoin Price Checker !
Post by: Alty on November 25, 2013, 12:48:13 AM
bump

for people who haven't seen this.
Title: Re: GoldCoin Price Checker !
Post by: Liquid on November 25, 2013, 02:23:28 AM
Bookmarked cheers  ;)
Title: Re: GoldCoin Price Checker !
Post by: Roug on November 25, 2013, 07:21:21 AM
whats going on? its worth 0?
Title: Re: GoldCoin Price Checker !
Post by: MicroGuy on November 25, 2013, 07:42:03 AM
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.
Title: Re: GoldCoin Price Checker !
Post by: ruecianfate on November 28, 2013, 01:36:00 AM
thumbs up, lot of help for all
Title: Re: GoldCoin Price Checker !
Post by: xrturbs on November 29, 2013, 02:53:27 AM
Cool added and hey were at 5c now
Title: Re: GoldCoin Price Checker !
Post by: bustingbuster on November 29, 2013, 05:20:10 AM
GoldCoin is really the best, :D

-Thanks-
Title: Re: GoldCoin Price Checker !
Post by: Bubba on November 30, 2013, 09:23:38 PM
I like it! Does exactly what it needs to do. Thanks! :)
Title: Re: GoldCoin Price Checker !
Post by: bustingbuster on December 01, 2013, 07:23:28 AM
bumping this up for newbies.
Title: Re: GoldCoin Price Checker !
Post by: dille71 on December 02, 2013, 07:02:37 AM
Haha i was just about to build one myself and then i saw this :)
Great initiative!
Title: Re: GoldCoin Price Checker !
Post by: gsdffsdfsd on December 03, 2013, 02:43:50 AM
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?
Title: Re: GoldCoin Price Checker !
Post by: bustingbuster on December 04, 2013, 04:48:36 AM
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-
Title: Re: GoldCoin Price Checker !
Post by: manto on December 04, 2013, 09:24:03 AM
Is GLD traded (in $, not other coins) on any exchange? I can't seem to find any.
Title: Re: GoldCoin Price Checker !
Post by: AZIZ1977 on December 04, 2013, 09:26:27 AM
Is GLD traded (in $, not other coins) on any exchange? I can't seem to find any.

Not yet.
Title: Re: GoldCoin Price Checker !
Post by: Stormcrow on December 05, 2013, 10:06:39 PM
It looks busted right now:

$ curl http://gld.skillerzforum.com/system/lazy2.php
0.00000
Title: Re: GoldCoin Price Checker !
Post by: miner007 on December 06, 2013, 05:36:34 AM
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.
Title: Re: GoldCoin Price Checker !
Post by: miner007 on December 06, 2013, 05:37:41 AM
my python script is better.. LOL   :P
Title: Re: GoldCoin Price Checker !
Post by: harshal360 on December 06, 2013, 08:25:11 AM
yea its been 0 according to ur site for a while

Sent from my Nexus 7 using Tapatalk

Title: Re: GoldCoin Price Checker !
Post by: bustingbuster on December 06, 2013, 11:36:42 PM
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-
Title: Re: GoldCoin Price Checker !
Post by: harshal360 on December 07, 2013, 12:24:52 AM
I dont know if I should trust this or http://coinmarketcap.com/
Title: Re: GoldCoin Price Checker !
Post by: miner007 on December 07, 2013, 07:25:29 AM
try this python script that i wrote. It uses the APIs from Cryptsy and BTCe.

Code: [Select]
#!/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>'
Title: Re: GoldCoin Price Checker !
Post by: bustingbuster on December 07, 2013, 10:50:14 AM
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-