Skip to content

place order

bitstarcom edited this page Jun 27, 2017 · 1 revision

URI: https://www.bitstar.com/api/v1/trade/order/{businessType}/{tradeType}/{price}/{amount} (POST)
Parameter description:
businessType:See the first chapter(General parameter specification
tradeType: See the first chapter(General parameter specification
price The order price
amount The order amount(digital cash amount)
Return value format:

    {   
    	"result":"<result code>",      
    	"orderid":"<order ID>",           
    	"message":"<result message>"	        
    }       

additional illustrations
Result 0-sucess,other-fail, error code:
202: out depot
203: in settling
204: fund insufficient
205: story insufficient
206: Price unreasonable
207: orderamount unreasonable

Clone this wiki locally