Author

Topic: bitstamp API instant/market order method (Read 2706 times)

full member
Activity: 175
Merit: 100
October 29, 2014, 08:19:52 AM
#6
"instant order" from definition is order which doesn't care about price, so it will try to buy/sell at any price. It will eat any orders till the order book will be empty, and when it happens it should just place the order without filling it. Not a best solution, but it is the way how instant order works.
member
Activity: 72
Merit: 10
October 29, 2014, 06:06:13 AM
#5
2. buy btc at 999999 price, sell btc at 0.01 price
 - how to calculate the amount to put in POST request?
This seems like the best solution. It looks like a cheap hack, but I don't see how it can go wrong.
what if the order book is empty? (possibly due to a fluke)
full member
Activity: 175
Merit: 100
September 07, 2013, 02:33:33 AM
#4
2. buy btc at 999999 price, sell btc at 0.01 price
 - how to calculate the amount to put in POST request?
This seems like the best solution. It looks like a cheap hack, but I don't see how it can go wrong.
yeah but for such price you probably could buy a very small amount of BTC,
if you have 100000 USD you can only place order at 99999 for 0.01 btc, right?
you buy only 0.01, looping again until you sellout all fiat?
legendary
Activity: 2058
Merit: 1452
September 06, 2013, 07:16:03 PM
#3
2. buy btc at 999999 price, sell btc at 0.01 price
 - how to calculate the amount to put in POST request?
This seems like the best solution. It looks like a cheap hack, but I don't see how it can go wrong.
full member
Activity: 175
Merit: 100
September 06, 2013, 01:55:53 PM
#2
I don't believe there is no solution/workaround for that, anybody?
full member
Activity: 175
Merit: 100
September 03, 2013, 06:37:49 AM
#1
Hi,

Bitstamp API does not offer instant/market order placement through API, only via UI.
I've tried ask support with no success.
Can anybody recommend me the most efficient way to achieve such order placement?

Some possibilities:
1. as on mtgox I tried to place an order with no 'price' argument
 - api call returns error caused by lack of this param
2. buy btc at 999999 price, sell btc at 0.01 price
 - how to calculate the amount to put in POST request?
3. buy at ask depth price, sell at bid depth price
 - orders might be not completed, should be put in loop, can be difficult to achieve when there is lag on market
5. any other way?

Thanks in advance
Jump to: