Bitcoin Forum

Economy => Speculation => Topic started by: phorensic on December 09, 2011, 05:47:13 AM



Title: MtGox API Trading
Post by: phorensic on December 09, 2011, 05:47:13 AM
What script/program are you guys using to trade on Gox via the API?  I'm tired of logging in again every time the 5 min timer auto-logs me.  Too lazy to figure out how to hack the cookie or get more advanced to keep the session persistent.


Title: Re: MtGox API Trading
Post by: notme on December 09, 2011, 05:58:16 AM
Mtgox ruby gem and some ruby integrated with a rails app.  You could probably throw together a quick Sinatra app in a few hours if you know ruby.


Title: Re: MtGox API Trading
Post by: notme on December 09, 2011, 05:59:50 AM
Or just a command line script if you lean that way.


Title: Re: MtGox API Trading
Post by: phorensic on December 09, 2011, 06:50:45 AM
Yeah one language I do not know yet is Ruby...


Title: Re: MtGox API Trading
Post by: bitfoo on December 09, 2011, 06:59:10 AM
goxsh (http://"http://www.goxsh.info/") is a pretty neat command line interface.


Title: Re: MtGox API Trading
Post by: Mushoz on December 09, 2011, 12:52:44 PM
What script/program are you guys using to trade on Gox via the API?  I'm tired of logging in again every time the 5 min timer auto-logs me.  Too lazy to figure out how to hack the cookie or get more advanced to keep the session persistent.

In your account settings in Mtgox you can increase the session-time so that it doesn't automatically log you out after 5 minutes.


Title: Re: MtGox API Trading
Post by: phorensic on December 09, 2011, 04:12:46 PM
Doh!  Still that's only two hours max.  I stare at the charts longer than that before making a trade sometimes.  I'll try goxsh, thanks.