Post
Topic
Board Trading Discussion
Re: Open source trading bot?
by
r4in
on 14/07/2011, 18:00:40 UTC
  $a = exec ('/usr/bin/wget -qO- --no-check-certificate https://mtgox.com/code/data/getDepth.php');


does that look right? after i did whereis wget is gave me /usr/bin/wget

Also, do I need to put in my user/pass anywhere?

Yes, perfect but notice that there are 2 occurences you have to change.

>Also, do I need to put in my user/pass anywhere?
Yes, check the header of the script. Do a "nano ./ob.php" and put your id/pw in the corresponding area.