cli-trader
v0.0.2
Published
A simple commandline trading tool for BTCe
Readme
cli-trader - a BTCe trading tool
I've been messing around with LTC trading on BTCe, its mildly amusing. Of course I found the interface horrendous, so I put together this simple fast commandline tool for making trades.
You might need it too, if you like it and make your millions consider chucking me a few btc at LgiQkSFU52ZffafUrsywKfnkrhNmCG4jfy.
Installation
npm install -g cli-traderUsage
cli-traderThis will then give you a prompt to configure, enter your API key and Secret for BTCe and you're good to go. It will print out your balance to confirm its all working.
Buying
The syntax is pretty self explanatory, here's a few examples:
btce > buy ltc @ 33Buys all the LTC you can afford at the 33 rate.
btce > buy ltcBuys all the LTC you can afford at current sell rate.
btce > buy 1 ltc @ 33Buys a single LTC at 33 rate.
btce > buy ltc @ 28 = 100Buys 100$ worth of LTC at 28 rate.
Getting the picture? All trades have a confirmation to which you must enter yes to confirm.
Selling
btce > sell ltc @ 35Sells all your LTC at 35.
btce > sell ltcSells all the LTC you can afford at current sell rate.
btce > sell 1 ltc @ 33Sells a single LTC at 33 rate.
btce > sell ltc @ 28 = 100Sells 100$ worth of LTC at 28 rate.
Other functions...
btce > ordersLists all your outstanding orders
btce > cancel 30187253Cancels the given order (no confirmation).
btce > clearClears all orders (no confirmation).
btce > statusReturns your current balance of USD, BTC and LTC.
btce > rate ltcLists the specified asset trade rates.
Known issues
None as of yet, have not tested it in trading BTC, but I'm using it for LTC right now and BTC should work.
Let me know if you find any problems with it.
