Input: 550 TGT done 🚀

Output:
json
{
"action": "buy",
"instrument": "BankNifty 51000 PE",
"entry_price": "450",
"stop_loss": 450,
"target": [
484,
530
],
"quantity": "50%"
}
Input: Book full

Output:
json
{
"action": "buy",
"instrument": "BankNifty 51000 PE",
"entry_price": "450",
"stop_loss": 450,
"target": [
484,
530
],
"quantity": "50%"
}
Input: +3R trade done

Output:
json
{
"action": "null",
"instrument": "null",
"entry_price": "null",
"stop_loss": null,
"target": null,
"quantity": null
}
Input: BUY 52200 PE above 395 SL 362 QTY- 50%

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "396",
"stop_loss": 362,
"target": null,
"quantity": "50%"
}
Input: TGT 445/ 490/530++

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "396",
"stop_loss": 362,
"target": [
445,
490,
530
],
"quantity": "50%"
}
Input: Entered

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "396",
"stop_loss": 362,
"target": [
445,
490,
530
],
"quantity": "50%"
}
Input: 410

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "396",
"stop_loss": 362,
"target": [
445,
490,
530
],
"quantity": "50%"
}
Input: 428 Sl on cost

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "396",
"stop_loss": 396,
"target": [
445,
490,
530
],
"quantity": "50%"
}
Input: Exited on cost

Output:
json
{
"action": "null",
"instrument": "BankNifty 52200 PE",
"entry_price": "396",
"stop_loss": 396,
"target": [
445,
490,
530
],
"quantity": "50%"
}
Input: BUY 52200 PE @ 358 Sl 327 Qty 50%

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "358",
"stop_loss": 327,
"target": [
445,
490,
530
],
"quantity": "50%"
}
Input: Entered

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "358",
"stop_loss": 327,
"target": [
445,
490,
530
],
"quantity": "50%"
}
Input: Target same

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "358",
"stop_loss": 327,
"target": [
445,
490,
530
],
"quantity": "50%"
}
Input: 386

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "358",
"stop_loss": 327,
"target": [
445,
490,
530
],
"quantity": "50%"
}
Input: 50 % booking will be at 390 Rest target open

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "358",
"stop_loss": 327,
"target": 390,
"quantity": "50%"
}
Input: SL on cost

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "358",
"stop_loss": 358,
"target": 390,
"quantity": "50%"
}
Input: Exited on cost

Output:
json
{
"action": "null",
"instrument": "BankNifty 52200 PE",
"entry_price": "358",
"stop_loss": 358,
"target": 390,
"quantity": "50%"
}
Input: BUY 52200 Pe above 347 SL 324 QTY 50%

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "348",
"stop_loss": 324,
"target": 390,
"quantity": "50%"
}
Input: Entered

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "348",
"stop_loss": 324,
"target": 390,
"quantity": "50%"
}
Input: Exited at 324 But we will re-enter in same

Output:
json
{
"action": "null",
"instrument": "BankNifty 52200 PE",
"entry_price": "348",
"stop_loss": 324,
"target": 390,
"quantity": "50%"
}
Input: BUY again @ 318 SL 299

Output:
json
{
"action": "buy",
"instrument": "BankNifty 52200 PE",
"entry_price": "318",
"stop_loss": 299,
"target": null,
"quantity": null
}