Input: 345 🚀 last trade loss recovered here

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "330",
"stop_loss": 315,
"target": 360,
"quantity": "75%"
}
Input: TSL 326

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "330",
"stop_loss": 326,
"target": 360,
"quantity": "75%"
}
Input: sL ON COST

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "330",
"stop_loss": 330,
"target": 360,
"quantity": "75%"
}
Input: EXITED ON COST

Output:
json
{
"action": "null",
"instrument": "BankNifty 52200 PE",
"entry_price": "330",
"stop_loss": 330,
"target": 360,
"quantity": "75%"
}
Input: BUY 52200 ce @ 315 SL 296 Qty 75%

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 CE",
"entry_price": "315",
"stop_loss": 296,
"target": null,
"quantity": "75%"
}
Input: Entered TP 355/ 390 /430

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 CE",
"entry_price": "315",
"stop_loss": 296,
"target": [
355,
390,
430
],
"quantity": "75%"
}
Input: Enter again with 295 as sl

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 CE",
"entry_price": "315",
"stop_loss": 295,
"target": [
355,
390,
430
],
"quantity": "75%"
}
Input: entered at 303

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 CE",
"entry_price": "303",
"stop_loss": 295,
"target": [
355,
390,
430
],
"quantity": "75%"
}
Input: 322 🚀 Last CE trade loss recovered here

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 CE",
"entry_price": "303",
"stop_loss": 295,
"target": [
355,
390,
430
],
"quantity": "75%"
}
Input: book 50% now

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 CE",
"entry_price": "303",
"stop_loss": 295,
"target": 355,
"quantity": "50%"
}
Input: TSL 322

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 CE",
"entry_price": "303",
"stop_loss": 322,
"target": 355,
"quantity": "50%"
}
Input: TSL 335

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 CE",
"entry_price": "303",
"stop_loss": 335,
"target": 355,
"quantity": "50%"
}
Input: 373 🚀

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 CE",
"entry_price": "303",
"stop_loss": 335,
"target": 355,
"quantity": "50%"
}
Input: TSL 345

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 CE",
"entry_price": "303",
"stop_loss": 345,
"target": 355,
"quantity": "50%"
}
Input: Exited at TSL

Output:
json
{
"action": "null",
"instrument": "BankNifty 52200 CE",
"entry_price": "303",
"stop_loss": 345,
"target": 355,
"quantity": "50%"
}
Input: BUY 52300 PE @ 345 SL 330 QTY 50%

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52300 PE",
"entry_price": "345",
"stop_loss": 330,
"target": null,
"quantity": "50%"
}
Input: Entered

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52300 PE",
"entry_price": "345",
"stop_loss": 330,
"target": null,
"quantity": "50%"
}
Input: TGT 370 / 400/ 480

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52300 PE",
"entry_price": "345",
"stop_loss": 330,
"target": [
370,
400,
480
],
"quantity": "50%"
}
Input: 364

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52300 PE",
"entry_price": "345",
"stop_loss": 330,
"target": [
370,
400,
480
],
"quantity": "50%"
}
Input: 367 SL on cost

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52300 PE",
"entry_price": "345",
"stop_loss": 345,
"target": [
370,
400,
480
],
"quantity": "50%"
}