Skip to content
Preston Skupinski edited this page Dec 7, 2014 · 4 revisions

Trade API

Calls methods on the btc-e trade api.

btce.getInfo(callback)

Calls the getInfo method of the API.

btce.transHistory(parameters, callback)

Calls the TransHistory method of the API.

Specify any of the optional parameters in the parameters object.

btce.tradeHistory(parameters, callback)

Calls the TradeHistory method of the API.

Specify any of the optional parameters in the parameters object.

btce.orderList(parameters, callback)

Calls the OrderList method of the API.

Specify any of the optional parameters in the parameters object.

btce.trade(pair, type, rate, amount, callback)

Calls the Trade method of the API.

btce.cancelOrder(orderId, callback)

Calls the CancelOrder method of the API.

Public API

btce.fee(pair, callback)

Gets the fee for the given pair.

btce.ticker(pair, callback)

Gets the current ticker data for the given pair.

btce.trades(pair, callback)

Gets the current trade data for the given pair.

btce.depth(pair, callback)

Gets the current market depth data for the given pair.