Post
Topic
Board Securities
Re: [BTC-TC] Virtual Community Exchange w/ Options, DRIP, 2FA, API, CSV, etc.
by
vthx
on 05/09/2013, 18:03:46 UTC
Is it possible to have the order id returned for immediate fills from the ask_submit/bid_submit api endpoints? Currently it returns something like:

Code:
{"status":"success","response":"order not placed: Received Ask Order: 1 of ASICMINER-PT @ 2.184 BTC: Sale 1 @ 2.185 BTC Complete.

"}

I am having a hard time matching up orders and this type of fill.  I am pretty sure an order id is generated because i can later match up quantity/price and see the the order id number in the csv endpoints. It would just be nicer/less error prone to have the id available at order placement.

In the usual case where there is no immediate fill its not a problem since the order number is returned like this:

Code:
{"status":"success","response":"Received Bid Order: 1 of LABCOIN @ 1.0E-7 BTC: Placed Purchase Order #1974258: 1 @ 0.0000001 BTC.

"}