Determining proper order price on BTCe


I am writing a custom bot for trading at different Exchanges, while BTCe is the only one I have currently implemented to about 95%.

Now I am only hanging at one point: If my Bot decides to Sell/Buy, how can I determine the proper price for my order?

My Idea was to get the kist of current buy/sell oderders for e.g. BTC/USD and then calculate for which price I would have to sell/buy so the trade will be executed completely, but then I didn't find an API-method to get a list of current orders here.

Is there any way to achieve what I am trying to do?


Posted 2013-12-22T23:00:49.180

Reputation: 123

Question was closed 2014-01-09T20:42:35.740



The API call you are looking for is the market depth:

There are also calls for LTC/BTC


All of the above return JSON data including both ASKS and BIDS

Mark S.

Posted 2013-12-22T23:00:49.180

Reputation: 2 540

This is what I was looking for, thank you very much! :) – Corsair – 2013-12-25T13:22:45.933


Additionally you can get info from for multi-exchange trade data.

For current market rate, 24-hour high/low, last, etc with btc-e you can use

Neil Neyman

Posted 2013-12-22T23:00:49.180

Reputation: 598