Bitcoin Forum
December 04, 2016, 12:18:20 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Command line interface for Mount Gox  (Read 1053 times)
FreeBit
Member
**
Offline Offline

Activity: 106


View Profile
December 29, 2011, 01:09:58 PM
 #1

Hi,

I have programmed a command line tool to interact with Mount Gox. It is called mgcli. It implements the API functions except the withdraw bitcoins functions: https://mtgox.com/api

The benefit of mgci:

You want to trade Bitcoins at Mt. Gox.
Insteed of login in to Mount Gox, waiting, klicking here and there, entering an amount, klicking into an other field, entering a price - you simply enter something like

mgcli sellbtc 2.4 6.0

at the command prompt. This is an order to sell 2.4 Bitcoins for the price of 6$ per Bitcoin. With

mgcli orders or mgcli histroy BTC you can check the execution status of this order.


Other possible commands are:

mgcli ticker - shows ticker data
mgcli orders - shows orders
mgcli cancel order - cancel an order by id
...


For me this was an programming execise and the spin off of another project. It is written in scala, so you have to install a scala runtime enviroment. It is similar to the java runtime enviroment. Installation of mgcli is a little bit complicated.

You can check it out here: http://mgcli.wordpress.com/



Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480853900
Hero Member
*
Offline Offline

Posts: 1480853900

View Profile Personal Message (Offline)

Ignore
1480853900
Reply with quote  #2

1480853900
Report to moderator
1480853900
Hero Member
*
Offline Offline

Posts: 1480853900

View Profile Personal Message (Offline)

Ignore
1480853900
Reply with quote  #2

1480853900
Report to moderator
1480853900
Hero Member
*
Offline Offline

Posts: 1480853900

View Profile Personal Message (Offline)

Ignore
1480853900
Reply with quote  #2

1480853900
Report to moderator
phorensic
Hero Member
*****
Offline Offline

Activity: 630



View Profile
December 29, 2011, 04:51:20 PM
 #2

Is this just a clone of goxsh in a different language?
FreeBit
Member
**
Offline Offline

Activity: 106


View Profile
December 29, 2011, 09:50:26 PM
 #3

Is this just a clone of goxsh in a different language?

I don't know goxsh. If goxsh is a command line tool for Mount Gox, then it will look and work similar.



bittenbob
Hero Member
*****
Offline Offline

Activity: 560


View Profile
December 30, 2011, 12:45:50 AM
 #4

It would be nice if there were a secure gui trading platform that integrates charts and has input for bot/strategy commands. Of course for security it would have to be something downloadable and lockable to secure your account information. It would have to poll directly with whichever bitcoin market you are using.

Some ideas would be quick buy/sell buttons for rapid market movements. Pre-set trading amounts for the rapid buy/sell buttons. Another good feature would be a button to stop all trading activities and temporarily disable all active trades. You would want a tab where all your buy/sell orders would be listed and also include a depth to execution indicator. The best trading platform would essentially combine mtgox with something like clark moody but on your PC.

This would be a good coding challenge for someone in the BTC community. I would be willing to sacrifice a BTC or two for a finished trading platform such as this.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!