Author

Topic: Python bindings for the Mt. Gox trading API (v0.01) (Read 2084 times)

legendary
Activity: 1050
Merit: 1000
You are WRONG!
Sent 5 BTC. I would love btcex support since they charge no fees on trades.  I'll offer 5 BTC for that as well.
Thanks Cheesy
full member
Activity: 182
Merit: 100
Sent 5 BTC. I would love btcex support since they charge no fees on trades.  I'll offer 5 BTC for that as well.
legendary
Activity: 1050
Merit: 1000
You are WRONG!
im glad seeing people using it Smiley

if you use it and want to see more of things like this from me, please feel free to donate: 1EJXbMi5CjHeNmUQNpZgg72HWzEMX8tVja
full member
Activity: 182
Merit: 100
Thanks! Now I have a 13 line bot that watches the ask price and sells slightly lower than the best bid price if the ask drops below a certain price, and puts a bid in to rebuy a bit lower Smiley.
legendary
Activity: 1658
Merit: 1001
So, kokjo beat me in releasing a MtGox Python api (working on a MyBitcoin python library atm).
sr. member
Activity: 271
Merit: 254
Wonderful..

Now how much would you charge, and how long would it take you to get a single object-oriented python library for MtGox, BtcEx, and Britcoin API's?  .. Please release/license as open-source Wink
legendary
Activity: 1050
Merit: 1000
You are WRONG!
full member
Activity: 140
Merit: 100
This is great. Thanks. 1btc sent.
legendary
Activity: 1050
Merit: 1000
You are WRONG!
hi!

I have made a api for trading at Mt. Gox. git repo: https://github.com/kokjo/MtGoxAPI

depenciies: pycurl
how to use:
Code:
>>> import MtGoxAPI
>>> client = MtGoxAPI.Client("your_username", "your_password")
>>> client.get_ticker()
{u'ticker': {u'sell': 1.1950000000000001, u'buy': 1.1830000000000001, u'last': 1.1950000000000001, u'vol': 14176, u'high': 1.1950000000000001, u'low': 1.1218999999999999}}
>>>

the public(data) api:
Code:
get_ticker()
get_depth()
get_trades()

the private(trading) api:
Code:
get_balance()
get_orders()
sell_btc(amount, price)
buy_btc(amount, price)

if you like it or use it please feel free to donate to 1EJXbMi5CjHeNmUQNpZgg72HWzEMX8tVja

happy hackin' Cheesy
Jump to: