Closed ravikanthvishnubhotla closed 6 months ago
according to this the target is reached, we are supposed to modify stop loss qty from 30 to 15. that did not happen, but why ? is this related to where the market is and what our target 1, price is ?
as per the Market and Telegram Channel, T1 is reached. This is visible from both Output file and Telegram Snapshot. Another worry is there is no Exit on SL also..Can you check this
Could you check the code for any deviations?
unfortunately, could not lay hands on the log file.
[2024-05-06 09:30:16,861] DEBUG: modify SL to TGT]
[2024-05-06 09:30:16,861] INFO: modify resp: None]
[2024-05-06 09:30:16,861] INFO: stop loss order: {'symbol': 'NFO:BANKNIFTY08MAY24C48900', 'side': 'S', 'quantity': 15, 'price': -0.05, 'trigger_price': 0.0, 'order_type': 'SL', 'product': 'N', 'remarks': 'Premium jackpot'}]
seems both modification did not happen as well as new stop is also not placed
since the telegram call price is stored as 0, which is the highest of price, trigger_price in case of market orders, we had lot of issues. this is fixed now.
2nd Lot is not trailed to cost after 1st Lot Exit. E-Trail Error Observed Can you pls check for 2nd Lot handling. Is there any change with 2nd Lot handling after Market Entry changes were done? Can you pls verify the code for 2nd Lot trail SL to cost and exit @ 2nd Target.
There are no followup signals in Json file except these