Bitcoin Forum
April 23, 2018, 06:19:21 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Which exchange ticker data is best to use for e-commerce?  (Read 666 times)
fluxist
Jr. Member
*
Offline Offline

Activity: 35
Merit: 0



View Profile
October 21, 2012, 10:15:46 PM
 #1

I coded a module to pull the Mt Gox ticker data into my shopping cart software to convert the product prices from USD to BTC dynamically. My question is, what is the best data to use for this conversion? The API offers high, low, vol, avg, vwap, last, buy and sell. I'm currently using last.

Is this the best data to use for this purpose?
1524464361
Hero Member
*
Offline Offline

Posts: 1524464361

View Profile Personal Message (Offline)

Ignore
1524464361
Reply with quote  #2

1524464361
Report to moderator
1524464361
Hero Member
*
Offline Offline

Posts: 1524464361

View Profile Personal Message (Offline)

Ignore
1524464361
Reply with quote  #2

1524464361
Report to moderator
1524464361
Hero Member
*
Offline Offline

Posts: 1524464361

View Profile Personal Message (Offline)

Ignore
1524464361
Reply with quote  #2

1524464361
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1524464361
Hero Member
*
Offline Offline

Posts: 1524464361

View Profile Personal Message (Offline)

Ignore
1524464361
Reply with quote  #2

1524464361
Report to moderator
1524464361
Hero Member
*
Offline Offline

Posts: 1524464361

View Profile Personal Message (Offline)

Ignore
1524464361
Reply with quote  #2

1524464361
Report to moderator
HostFat
Staff
Legendary
*
Offline Offline

Activity: 2786
Merit: 1053


I support freedom of choice


View Profile WWW
October 21, 2012, 10:25:41 PM
 #2

Try this:
http://bitcoincharts.com/t/weighted_prices.json

NON DO ASSISTENZA PRIVATA - The Rock Trading (ref): A good exchange since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2478
Merit: 1000


View Profile
October 21, 2012, 11:13:24 PM
 #3

I coded a module to pull the Mt Gox ticker data into my shopping cart software to convert the product prices from USD to BTC dynamically. My question is, what is the best data to use for this conversion? The API offers high, low, vol, avg, vwap, last, buy and sell. I'm currently using last.

Is this the best data to use for this purpose?

Well what is the "best data" from your perspective might be different from your customer's perspective.

Here's an excerpt from a related conversation:

A low margin service would be forced to set prices based on the last price on a large exchange (but also take into account "slippage" for larger transactions.)

A higher margin service could get away with once a day adjustments based on previous day's average, or something like that. Sometimes it will be in the merchant's favor, other times in the customer's favor -- but generally will even out, roughly.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!