It looks like you're new here. If you want to get involved, click one of these buttons!
'no. of contract(s) * lot_size'
which in this case is 10 (ten). Given the instrument call do not provides the lot size information (set to 1 (one)) for mcx instruments we have no way to arrive at the exact order size. As such either provide the necessary information or the anomaly needs to be corrected at your end.{"order_id":"170221000560378","exchange_order_id":"131705200115392","order_timestamp":"2017-02-21 19:32:48","exchange_timestamp":"21-Feb-2017 19:29:11","status":"CANCELLED","status_message":"","placed_by":"UserId","user_id":"UserId","tradingsymbol":"CRUDEOILM17MARFUT","exchange":"MCX","transaction_type":"BUY","order_type":"LIMIT","quantity":10,"filled_quantity":0,"unfilled_quantity":0,"price":3623,"average_price":0,"trigger_price":0,"product":"NRML","validity":"DAY","tag":"","checksum":"5c6d8f384b58aa1b29ced3abc0a64dff8e4249388779fe72ee3e88b12ab9ff61"}
You can check brokerage calculator to know about lot to weight map of each commodity contract or you can use margins API which is mentioned in this thread.
if not, then please add the same to your todo list.
In the orders call the quantity for mcx contracts are defined by
no. of contracts
while in the postbacks it is defined as'no. of contract(s) * lot_size'
. This creates an anomaly.For example crude oil quantity is 1 (one) via the orders call, while it is 100 (one hundred) in the postbacks.
Feature request - can be have an uniform quantity size across all calls.
You are placing the order with quantity in lots and in postbacks, you are getting quantity in weights.
Your point makes sense, we will release a patch soon.