WebService::MtGox

Access to mtgox.com's bitcoin trading API
Download

WebService::MtGox Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • John BEPPU
  • Publisher web site:
  • http://search.cpan.org/~beppu/

WebService::MtGox Tags


WebService::MtGox Description

Access to mtgox.com's bitcoin trading API WebService::MtGox is a Perl module that gives you access to MtGox's bitcoin trading API. With this module, you can get current market data and initiate your buy and sell orders.SYNOPSISCreating the client use WebService::MtGox; my $m = WebService::MtGox->new( user => 'you', password => 'secret', );Getting Trade Data my $ticker = $m->get_ticker; my $depth = $m->get_depth;Placing Buy and Sell Orders my $r1 = $m->buy(amount => 24, price => 7.77); my $r2 = $m->sell(amount => 10, price => 8.12);Make it AnyEvent+Coro-friendly use WebService::MtGox; use LWP::Protocol::Coro::http; Requirements: · Perl


WebService::MtGox Related Software