Learn about the BTC-e API at https://btc-e.com/api/3/documentation.
gem install rbtce
Note that for the time being only the public API is avaliable in v3.
require 'btce'
Rbtce::Info.fetchrequire 'btce'
Rbtce::Ticker.from( Rbtce::Currency::LTC ).to( Rbtce::Currency::BTC ).
and.from( Rbtce::Currency::LTC ).to( Rbtce::Currency::USD ).
fetchrequire 'btce'
Rbtce::Trades.from( Rbtce::Currency::LTC ).to( Rbtce::Currency::BTC ).
fetch( limit: 2000 )require 'btce'
Rbtce::Depth.from( Rbtce::Currency::LTC ).to( Rbtce::Currency::BTC ).fetch- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
BTC: 1J6urRH6xbMYUdk6shTshrjtRu3PbhupRk LTC: LX7nFCTEsygsEXpx4k2TAupiJMgrZqsrUr XDG: DUPGsYEMBsWrYzPxbjyu4mQ7ujhAZj58mu