Skip to content

Instantly share code, notes, and snippets.

@sathyarajshetigar
Created August 4, 2023 06:11
Show Gist options
  • Save sathyarajshetigar/599feba3bfbaf31ccc2240eb24ccfead to your computer and use it in GitHub Desktop.
Save sathyarajshetigar/599feba3bfbaf31ccc2240eb24ccfead to your computer and use it in GitHub Desktop.
algo
2023-08-04 11:20:04,100 - INFO - placeBasketOrder
2023-08-04 11:20:04,600 - INFO - event_handler_order_update {'t': 'om', 'norenordno': '23080400282232', 'uid': 'FA64565', 'actid': 'FA64565', 'exch': 'NFO', 'tsym': 'BANKNIFTY10AUG23C45100', 'trantype': 'B', 'qty': '120', 'prc': '0.00', 'pcode': 'I', 'remarks': 'strat', 'status': 'PENDING', 'reporttype': 'NewAck', 'prctyp': 'MKT', 'ret': 'DAY', 'exchordid': '', 'dscqty': '0'}
2023-08-04 11:20:04,600 - INFO - event_handler_order_update {'t': 'om', 'norenordno': '23080400282232', 'uid': 'FA64565', 'actid': 'FA64565', 'exch': 'NFO', 'tsym': 'BANKNIFTY10AUG23C45100', 'trantype': 'B', 'qty': '120', 'prc': '0.00', 'pcode': 'I', 'remarks': 'strat', 'status': 'PENDING', 'reporttype': 'PendingNew', 'prctyp': 'MKT', 'ret': 'DAY', 'exchordid': '', 'dscqty': '0'}
2023-08-04 11:20:04,615 - INFO - event_handler_order_update {'t': 'om', 'norenordno': '23080400282232', 'uid': 'FA64565', 'actid': 'FA64565', 'exch': 'NFO', 'tsym': 'BANKNIFTY10AUG23C45100', 'trantype': 'B', 'qty': '120', 'prc': '0.00', 'pcode': 'I', 'remarks': 'strat', 'status': 'OPEN', 'reporttype': 'New', 'prctyp': 'MKT', 'ret': 'DAY', 'exchordid': '1600000065897996', 'dscqty': '0', 'exch_tm': '04-08-2023 11:20:04'}
2023-08-04 11:20:04,615 - INFO - event_handler_order_update {'t': 'om', 'norenordno': '23080400282232', 'uid': 'FA64565', 'actid': 'FA64565', 'exch': 'NFO', 'tsym': 'BANKNIFTY10AUG23C45100', 'trantype': 'B', 'qty': '120', 'prc': '0.00', 'pcode': 'I', 'remarks': 'strat', 'status': 'COMPLETE', 'reporttype': 'Fill', 'flqty': '120', 'flprc': '236.00', 'flid': '519376253', 'fltm': '04-08-2023 11:20:04', 'prctyp': 'MKT', 'ret': 'DAY', 'exchordid': '1600000065897996', 'fillshares': '120', 'dscqty': '0', 'avgprc': '236.00', 'exch_tm': '04-08-2023 11:20:04'}
2023-08-04 11:20:04,662 - INFO - Entry Order complete -> average price 236.0 index BANKNIFTY is_strat_trade True lot_size 15 token 47365 qty: 120 symbol: BANKNIFTY10AUG23C45100 selectedSL 20
2023-08-04 11:20:04,678 - INFO - OpenPosition init. token 47365 is_strat_trade True is_orb_trade False tslEnabled True targetExitEnabled True
2023-08-04 11:20:05,975 - INFO - PlaceSlOrder status slorder: {'request_time': '11:20:05 04-08-2023', 'stat': 'Ok', 'norenordno': '23080400282369'} at 197.25
2023-08-04 11:20:08,725 - INFO - NIFTY Heartbeat 11:20:08
2023-08-04 11:20:08,787 - INFO - NIFTY in_trade_zone? False close_to_swng_sup-res True level 19505.25 last_indx_cls 19498.2 lots -1.0 indx_ltp 19500.85 indx_adx 25 indx_rsi 64 sup/res False cpr_pos 0 cpr_key None
2023-08-04 11:25:04,060 - INFO - BANKNIFTY Heartbeat 11:25:04
2023-08-04 11:25:04,123 - INFO - BANKNIFTY in_trade_zone? True close_to_swng_sup-res False level -1 last_indx_cls 44975.45 lots 0.5 indx_ltp 44984.25 indx_adx 39 indx_rsi 76 sup/res False cpr_pos 0 cpr_key None
2023-08-04 11:25:04,357 - INFO - placeBasketOrder
2023-08-04 11:25:08,670 - INFO - NIFTY Heartbeat 11:25:08
2023-08-04 11:25:08,732 - INFO - NIFTY in_trade_zone? True close_to_swng_sup-res True level 19505.25 last_indx_cls 19501.4 lots 0.5 indx_ltp 19500.85 indx_adx 26 indx_rsi 64 sup/res False cpr_pos 0 cpr_key None
2023-08-04 11:30:05,079 - INFO - BANKNIFTY Heartbeat 11:30:05
2023-08-04 11:30:05,142 - INFO - BANKNIFTY in_trade_zone? True close_to_swng_sup-res False level -1 last_indx_cls 45030.7 lots 0.5 indx_ltp 44984.25 indx_adx 42 indx_rsi 79 sup/res False cpr_pos 0 cpr_key None
2023-08-04 11:30:05,439 - INFO - placeBasketOrder
2023-08-04 11:30:10,267 - INFO - NIFTY Heartbeat 11:30:10
2023-08-04 11:30:10,329 - INFO - NIFTY in_trade_zone? True close_to_swng_sup-res False level -1 last_indx_cls 19517.45 lots 0.5 indx_ltp 19500.85 indx_adx 27 indx_rsi 68 sup/res False cpr_pos 0 cpr_key None
2023-08-04 11:30:10,657 - INFO - placeBasketOrder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment