Post
Topic
Board Project Development
Re: ToyTrader - a daytrading command line tool for mtgox
by
yomi
on 19/05/2011, 18:24:41 UTC
Great work!

I am run it but got this:

Code:
$ php -q mtgox.php
ToyTrader v. 0.0.2 - command line mtgox trading tool
DONATE for FASTER development: 1N8b1uzWA7RsfVPmA2kdGSEmsv91zTRMAX
For help type: H and press enter

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /Users/edu/hacking/bitcoin/ToyTrader/mtgox.php on line 31
== 2011-05-19 20:22:49 ================================
USD:   BTC:
Last: 6.85
BUY OFFERS SELL OFFERS
6.81 23.45 6.85599 2
6.8 39.085 6.85699 2
6.76 10.919 6.85899 2
6.7502 29.5 6.872 2
6.75011 314.22 6.873 2
6.75 8 6.874 2
6.745 22.7 6.9415 37.57
6.72 1.2 6.945 100
6.7011 1 6.95 5
6.701 5 6.99 5.14

Fatal error: Call to undefined function readline() in /Users/edu/hacking/bitcoin/ToyTrader/mtgox.php on line 59

This is Mac OS X 10.6

Thanks!