Bitcoin Forum
December 10, 2016, 10:50:16 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 991 times)
FreeBit
Member
**
Offline Offline

Activity: 106


View Profile
December 29, 2011, 01:10:34 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/



1481410216
Hero Member
*
Offline Offline

Posts: 1481410216

View Profile Personal Message (Offline)

Ignore
1481410216
Reply with quote  #2

1481410216
Report to moderator
1481410216
Hero Member
*
Offline Offline

Posts: 1481410216

View Profile Personal Message (Offline)

Ignore
1481410216
Reply with quote  #2

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

Posts: 1481410216

View Profile Personal Message (Offline)

Ignore
1481410216
Reply with quote  #2

1481410216
Report to moderator
1481410216
Hero Member
*
Offline Offline

Posts: 1481410216

View Profile Personal Message (Offline)

Ignore
1481410216
Reply with quote  #2

1481410216
Report to moderator
Seal
Donator
Hero Member
*
Offline Offline

Activity: 833


View Profile WWW
January 16, 2012, 03:16:39 AM
 #2

Awesome... just like a bloomberg terminal for those trying to emulate the awesomeness of being a trader Tongue

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!