mtgox command driven terminal trading
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
websocket
README.md
TODO
alarm.wav
alarm2.wav
bot.py
click.wav
common.py
exchange.py
gligg.wav
img.py
mtgox.py
socketio.py
traidor.conf.sample
traidor.py
websocket_client.py
wxgui.py

README.md

traidor - mtgox command driven terminal trading

CAVEAT

this software might have bugs which might cause you to loose money. USE AT YOUR OWN RISK!

the code is very much a work in progress, if you expect production quality code or even just good code, GO AWAY

DEPENDENCIES (likely incomplete)

  • simplejson (included in python 2.6+)
  • pygame (four sound)
  • websocket4 (included, I guess)
  • ...

LICENSE

probably some GPL license

GETTING STARTED

First generate a MtGox API Key for use by traidor: go to http://mtgox.com, log in, click your username at the top, select "access" and use "Advanced API Key Creation". Enter any name for the API key (e.g: "traidor"), Check boxes "get_info" and "trade". You will need the "key" and "secret" values for the config file

#> cp traidor.conf.sample traidor.conf
#> edit traidor.conf
#> python traidor.py
...
INITIALIZED | 0.0033 dmz | 4.00 BTC, 16.80 USD | [h]elp #> h

THANKS

  • to at least 3 people I forgot the aliases of for testing and suggestions
  • to Giel for his websocket implementation
  • to MagicalTux for constantly fixing things