aido / AidoATP

Reference Implementation of IsisATP from the Open Payments Alliance
GNU General Public License v3.0
39 stars 25 forks source link

Bitstamp error #6

Open altryne opened 11 years ago

altryne commented 11 years ago

Tried to run the program Live, got this error

2013-05-07 00:06:41,313 : ERROR: Caught unexpected exception, shutting down Bitstamp trend following trading agent now!. Details are listed below. com.xeiam.xchange.NotAvailableFromExchangeException: Placing market orders not supported by Bitstamp API. at com.xeiam.xchange.bitstamp.service.trade.polling.BitstampPollingTradeService.placeMarketOrder(BitstampPollingTradeService.java:78) at org.aido.atp.TrendTradingAgent.marketOrder(TrendTradingAgent.java:554) at org.aido.atp.TrendTradingAgent.evalAsk(TrendTradingAgent.java:432) at org.aido.atp.TrendTradingAgent.run(TrendTradingAgent.java:344) at java.lang.Thread.run(Thread.java:722)

mmazi commented 11 years ago

Bitstamp's API doesn't support market orders (even thought their engine supports it, ie. it's possible to enter market orders via the web interface); it's only possible to enter limit orders via the API. See https://www.bitstamp.net/api/