mg - a command line client for MtGox
mg <COMMAND> [OPTION]...
Get ticker.
Get trading depth.
Get recent trades.
Get your balance.
Buy some bitcoins.
Sell some bitcoins.
List your orders.
Cancel an order.
The order id.
The type may be 1 for buy or 2 for sell.
1
2
Send bitcoins from your MtGox account to a bitcoin address.
Display the total value of your balance in US Dollars. You can also use this to find the value of an arbitrary amount of bitcoins in US Dollars.
# How much is 1000 btc worth in US Dollars? mg usd 1000
Display the total value of your balance in bitcoins. You can also use this to find the value of an arbitrary amount of US Dollars in bitcoins.
# How much is $400 worth in bitcoins? mg btc 400
WebService::MtGox, Finance::Bitcoin
John BEPPU <beppu (at) cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WebService::MtGox, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::MtGox
CPAN shell
perl -MCPAN -e shell install WebService::MtGox
For more information on module installation, please visit the detailed CPAN module installation guide.