Bitcoin Forum
June 20, 2018, 12:26:04 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  

Warning: Moderators do not remove likely scams. You must use your own brain: caveat emptor. Watch out for Ponzi schemes. Do not invest more than you can afford to lose.

Pages: « 1 [2]  All
  Print  
Author Topic: z  (Read 3644 times)
EskimoBob
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


Quality Printing Services by Federal Reserve Bank


View Profile
August 06, 2012, 08:11:30 AM
 #21

Not sure if people have a better solution, but here's a function (formatting shamelessly ripped from znort987) to fetch the time weighted prices from bitcoincharts.com (e.g. the 24h USDBTC average). I think these are better to use than MTGox quotes if you're doing P&L calcs.
Why do you want to use something like time weighted prices or averages of 24H etc for P&L calculations? All you get is a distorted view of what is really going on "as of now (or what ever date/time you need)".

While reading what I wrote, use the most friendliest and relaxing voice in your head.
BTW, Things in BTC bubble universes are getting ugly....
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1529454364
Hero Member
*
Offline Offline

Posts: 1529454364

View Profile Personal Message (Offline)

Ignore
1529454364
Reply with quote  #2

1529454364
Report to moderator
1529454364
Hero Member
*
Offline Offline

Posts: 1529454364

View Profile Personal Message (Offline)

Ignore
1529454364
Reply with quote  #2

1529454364
Report to moderator
1529454364
Hero Member
*
Offline Offline

Posts: 1529454364

View Profile Personal Message (Offline)

Ignore
1529454364
Reply with quote  #2

1529454364
Report to moderator
Nefario
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500


GLBSE Support support@glbse.com


View Profile WWW
August 06, 2012, 11:16:20 AM
 #22

Remember the API has a limit of 10 requests per min.

I'm in the process of having the api and charts re-written for better usability and performance.

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
sunnankar
Legendary
*
Offline Offline

Activity: 1031
Merit: 1000



View Profile WWW
February 20, 2013, 06:52:17 AM
 #23


I've started a small git repo with useful Google Docs JavaScript macros to automatically interact

Thought those that want to import a wallet balance may find this helpful:

Code:
=ImportData(CONCAT("http://blockchain.info/q/addressbalance/",C27))/100000000

Pages: « 1 [2]  All
  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!