Bitcoin Forum
May 13, 2024, 04:51:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  

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 3770 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....
1715619072
Hero Member
*
Offline Offline

Posts: 1715619072

View Profile Personal Message (Offline)

Ignore
1715619072
Reply with quote  #2

1715619072
Report to moderator
1715619072
Hero Member
*
Offline Offline

Posts: 1715619072

View Profile Personal Message (Offline)

Ignore
1715619072
Reply with quote  #2

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

Activity: 602
Merit: 512


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:  

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