You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anyone had any luck with bracket orders. I have it working but when you cancel the parent it does not cancel the two child orders. I set the parent order on the two child orders and that works fine.
The text was updated successfully, but these errors were encountered:
I fixed it buy updating the limit order as follows
module.exports = function (action, quantity, price, transmitOrder, parentId) {
assert(.isString(action), 'Action must be a string.');
assert(.isNumber(quantity), 'Quantity must be a number.');
assert(_.isNumber(price), 'Price must be a number.');
if (transmitOrder === undefined) {
transmitOrder = true;
}
Anyone had any luck with bracket orders. I have it working but when you cancel the parent it does not cancel the two child orders. I set the parent order on the two child orders and that works fine.
The text was updated successfully, but these errors were encountered: