- is there an API call to implement a MARKET order?
I'll check over at the API thread..
To place a bid market order, use very high price.
To place an ask market order, use very low price.
I did a few bots to trade on forex and on bitstamp and what CFB sugests for market order is what I alsways used (and many other developers would use)
Just placing a limit order with higher/lower price makes it market order.
For example bitstamp api does not even have market order
https://www.bitstamp.net/api
I suppose if CfB was to put an api for market order it will do the above anyway (run a limit order with hihger/lower price)
ah ok, I didn't know that.
So if LOWEST sell order is 1000, and I want to simulate market order, then I enter a BUY LIMIT order for 10000, and this BUY LIMIT order hits the SELL LIMIT order at 1000 ?
It is sort of a workaround, but it does not seem like the real deal to me ..
That's how I always do it. One day when we have nice graphs like bitcoinity or bitcoinwisdom, you can easily ballpark how much volume your order will eat through to buy/sell your desired amount. Plus, it's safer always using limits, since you will never pay over what you set.