Library and tools for WEX cryptocurrency exchange (former BTC-e, hence naming).
go get github.com/akovalenko/go-btce
A wrapper around public and private (trading) API remote calls.
Disclaimer: WEX is not affiliated with the project. It's implemented using public documentation:
- Public API: accessible to anyone, no API key required
- Private API: requires an API key
- Push API
Some ideas were borrowed from the CodeReclaimers/btce-api Python library.
See documentation for details.
Donate bitcoin to 3GfDvGGd6fqxwR118L7X6XfVFuwni9F33m if you find it useful:
For private methods, API keys are expected to be provided in the following format (JSON):
{
"key": "ZZZZZZZZ-ZZZZZZZZ-ZZZZZZZZ-ZZZZZZZZ-ZZZZZZZZ",
"secret": "8888888888888888888888888888888888888888888888888888888888888888"
}
Meant mostly as an API usage example.
btce -key otherkey.json orders -pair ltc_btc
btce place sell 0.001 btc_usd 9999
btce cancel -pair btc_usd -min-rate 9000
# Fast depth updates using Push API
btce fastdepth btc_usd
A trading bot with a predefined (but tunable) strategy. See its own README for details.