Bitcoin Forum
May 14, 2024, 04:54:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [IDEA] - Price of BTC at specific point in time  (Read 1166 times)
ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
May 27, 2014, 11:54:06 AM
 #1

I believe this doesn't exist yet: A website (and API) that lets you input a specific date (or date+time), and a currency e.g. USD, and get the historic price at that time.

There are some ways of doing this e.g. via investing.com, but no simple, clean website that is dedicated for this specific task.

Again I'll state the interface - the inputs are:

1. Date
2. Currency

And the output is price of 1 BTC at that time.
No more, no less.

Any takers on implementing the idea?

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
1715662472
Hero Member
*
Offline Offline

Posts: 1715662472

View Profile Personal Message (Offline)

Ignore
1715662472
Reply with quote  #2

1715662472
Report to moderator
1715662472
Hero Member
*
Offline Offline

Posts: 1715662472

View Profile Personal Message (Offline)

Ignore
1715662472
Reply with quote  #2

1715662472
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
WiW
Sr. Member
****
Offline Offline

Activity: 277
Merit: 250


"The public is stupid, hence the public will pay"


View Profile
May 27, 2014, 12:02:27 PM
 #2

Sitting here with Ron talking about it. This actually arose from the fact that I get my paycheck based on the fiat-average over a span of time. E.g. if my paycheck is 1 dollar / day, and I want to know how much I am to be paid for the last week, I would need to measure the weighted average of the USD exchange rate over the last week multiplied by 7.

I'm expecting the user to input:
Her local currency
Her salary in local currency per day
Beginning and ending dates

The user gets:
Her paycheck in BTC, based on the fiat-average exchange rate of the relevant dates.
Coinbuddy
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000



View Profile
May 28, 2014, 08:06:57 AM
 #3

https://bitcointalk.org/index.php?topic=627371.0

read this topic bro for ideas
mrflibblehat
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250

★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
May 28, 2014, 08:04:57 PM
 #4

Something like this? http://fliblog.co.uk/historicaldata.php

so far just USD but it wouldnt be hard to convert to other currencies.

no error checking or anything fancy, just knocked it up in 5 minutes.


Tron
Full Member
***
Offline Offline

Activity: 588
Merit: 107


View Profile
May 29, 2014, 02:23:32 AM
 #5

CoinCPA.com is moving in this direction.   This post prompted us to accelerate our release of this API.

Here is an example call.  I have changed my API Key, so you'll need to get your own.  Right now the API is free, just sign up for a 30 day account.
Go to 'Account Settings' and then 'Settings' to activate and retrieve your own API Key.

https://coincpa.com/api/get_coin_value_by_date?apikey=AK533c3be6e4bbc5675cd54da2&coincode=BTC&date=2009-01-03&currency=USD

We support roughly 80 crypto currencies like BTC, IFC, LTC, DOGE, etc.

We have conversions to these fiat currencies:

US Dollar   USD
Euro   EUR
British Pound   GBP
Chinese Yuan Renminbi   CNY
Japanese Yen   JPY
Australian Dollar   AUD
Canadian Dollar   CAD
Swiss Franc     CHF
Singapore Dollar   SGD
Hong Kong Dollar   HKD


The conversions are done using the Forex market information on the date requested so it takes into account not just the USD value of the coin on the date, but the currency conversion ratios for that date as well.

Our data goes back to the beginning of Bitcoin (1/3/2009) for Bitcoin even when the value was 0.00, and most other coins we support go back to the beginning of this year or earlier.  We have another API call (get_capabilities) that will tell you the date at which we have market data for a specific coin.

Our API documentation is here:
https://coincpa.com/api_docs

The documentation for this specific API call is here:
https://coincpa.com/api_docs?api_id=15

You can pass in a date, a crypto-currency code like BTC, LTC, DOGE, IFC, etc., a fiat code like EUR, JPY, CNY, GBP, and we'll give you the value of the coin on the date you entered.

If you want just the value, and not the JSON with success code, message, value, etc, then also tack on '&raw', and CoinCPA will just give you the value.

Please do not abuse this API.  We will turn off API Keys that abuse it.

We may charge for this API in the future, or it may continue to be free, but for now any account holder can get a free API Key and use the API.

If you are an investor with an interest in CoinCPA, please PM me.

If you have historic coin value data that pre-dates ours, please PM me as we would love to provide a more complete history.

If you track more than one or two coins, try us out.  We go way beyond the spreadsheet and track your crypto-currency value in real-time with notifications.

Don't see your favorite coin on our system, come vote - we add coins with community support:
https://coincpa.com/coinvote

We are working on some interesting things, so follow us on Twitter @CoinCPA or on Facebook.

Tron
CoinCPA
https://CoinCPA.com













Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!