4

I have a small business in doing repairs and I'm willing to take bitcoin, but i was wondering if there is a site that aggregates all the bitcoin exchange prices so I can get an idea of what price to charge in bitcoins to avoid the day to day volatility. Yes i know i can use bitpay, but I want to be able to just take bitcoin myself and come up with my own merchant rate that i choose and feel comfortable with.

closed as too broad by David Perry Sep 20 '13 at 6:18

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    As a merchant, won't the exchange rate you base your rate on be the exchange that you will be cashing out at? i.e., would it matter what Mt. Gox's exchange rate is if you will be cashing out at BITSTAMP, for example? – Stephen Gornick Jul 16 '13 at 23:37
3

bitcoincharts.com is one of the more popular ones:

http://bitcoincharts.com/

1

BitPay provides an exchange rate quote:

0

You can place my bitcoin price table on your site: http://coinrepublic.com/website-tools/

David

0

I have written a Python program that looks at bitcoinchart's API and finds the median price. This might be useful if you wanted to automatically adjust prices in an online store.

import urllib2
import json

def average(l):
    return sum(l)/float(len(l))
#From fraxel
def median(mylist):
    sorts = sorted(mylist)
    length = len(sorts)
    if not length % 2:
        return (sorts[length / 2] + sorts[length / 2 - 1]) / 2.0
    return sorts[length / 2]

currency = "USD"
url = "http://api.bitcoincharts.com/v1/markets.json"
result = urllib2.urlopen(url).read()
prices = json.loads(result)


def by_currency(symbol):
    def f(ticker):
        return ticker['currency'] == symbol
    return f
def by_volume(min_volume):
    def f(ticker):
        return ticker['currency_volume'] > min_volume
    return f
def get_price(ticker):
    try:
        return average((ticker['ask'], ticker['bid']))
    except:
        pass
    print ticker
    raise Exception("Can't find price in ticker")

# Avoid prices in wrong currencies
prices = filter(by_currency(currency), prices)
# Exclude small exchanges
prices = filter(by_volume(100), prices)
prices = map(get_price, prices)


single_price = median(prices)
print single_price
  • i feel like the online bitcoin prices can be manipulated to an extent. what could be some other ways besides checking the online exchanges? – Patoshi パトシ Jul 16 '13 at 0:43
  • What language is this? Python? Please state it explicitely! – Joe Pineda Mar 9 '14 at 20:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.