From the official docs I found this:
import bybit
client = bybit.bybit(test=True, api_key="api_key", api_secret="api_secret")
print(client.LinearOrder.LinearOrder_new(
side="Sell",
symbol="BTCUSDT",
order_type="Limit",
qty=0.22,
price=10000,
time_in_force="GoodTillCancel",
reduce_only=False,
close_on_trigger=False
).result())
Additional parameters take_profit & stop_loss may also be sent. The TP&SL then get placed along with the order.
I'm wondering if there is a way to place TP&SL orders after an order is placed. There are no examples in the official docs, and I do not understand any instructions written for those orders in there either.
Thank you in advance

