Change order volume

Added by David about 4 years ago

I have questions about manipulating orders. Consider the following two methods referral to the volume.

PUT /next/2/accounts/{accno}/orders/{order_id}
volume : The new volume

GET /next/2/accounts/{accno}/orders
volume (number): The original volume of the order

  1. For the PUT method, I guess this is the new total volume, that is if I have an original order volume 100 and 50 have been matched, I cannot change volume to 45. I this correct?
  2. For the GET method, assume that I have changed volume from 100 --> 200 using the PUT method above, will I see volume 100 or 200 in the GET response?