can i place two limit order after buying one order,
let say i buy one option with limit order
{
quantity: 25,
product: "D",
validity: "DAY",
price: ltp,
tag: "string",
instrument_token: instrumentKey,
order_type: "LIMIT",
transaction_type: "BUY",
disclosed_quantity: 0,
trigger_price: 0,
is_amo: false,
};
and then next second can i place two limit orders to exit my postion?
like below
requestStoplose = {
quantity: 25,
product: "D",
validity: "DAY",
price: ltp * 0.9,
tag: "string",
instrument_token: instrumentKey,
order_type: "LIMIT",
transaction_type: "SELL",
disclosed_quantity: 0,
trigger_price: 0,
is_amo: false,
};
and
requestProfitOrder = {
quantity: 25,
product: "D",
validity: "DAY",
price: ltp * 1.1,
tag: "string",
instrument_token: instrumentKey,
order_type: "LIMIT",
transaction_type: "SELL",
disclosed_quantity: 0,
trigger_price: 0,
is_amo: false,
};