jerokpradeep / pya3

Other
45 stars 29 forks source link

Api not working to cancel Pending/Open orders #65

Open bhvarshn opened 1 year ago

bhvarshn commented 1 year ago

Cancel order is not working either for "ExchOrdID" or "Nstordno "

print(alice.cancel_order('1200000002127533'))

Below is pending and open order data . Prc RequestID Cancelqty discQtyPerc customText Mktpro defmktproval optionType usecs mpro Qty ordergenerationtype Unfilledsize orderAuthStatus Usercomments ticksize Prctype Status Minqty orderCriteria Exseg Sym multiplier ExchOrdID ExchConfrmtime Pcode SyomOrderId Dscqty Exchange Ordvaldate accountId exchangeuserinfo Avgprc Trgprc Trantype bqty Trsym Fillshares AlgoCategory sipindicator strikePrice reporttype AlgoID noMktPro BrokerClient OrderUserMessage decprec ExpDate COPercentage marketprotectionpercentage Nstordno ExpSsbDate OrderedTime RejReason modifiedBy Scripname stat orderentrytime PriceDenomenator panNo RefLmtPrice PriceNumerator token ordersource Validity GeneralDenomenator series InstName GeneralNumerator user remarks iSinceBOE 144 134.75 2 0 10 NA NA 3 XX 578362 1 82 -- 82 NA 5 SL trigger pending 0 NA nse_cm ONGC 1 1200000002127533 24-Nov-2022 13:44:14 BO 221124000024578 82 NSE NA 622648 111111111111000 00.00 136.35 S 1 ONGC-EQ 0 0 N 00.00 sl modify 54407 0 -- 1 2 NA 0.0 -- 221124000024580 NA 24/11/2022 13:44:14 -- 622648 OIL AND NATURAL GAS CORP. Ok Nov 24 2022 09:30:15 1 ACEPL9131B 0.0 1 2475 -- DAY 1 EQ 1 622648 -- 1669277654 145 134.75 2 0 10 NA NA 3 XX 629884 1 100 -- 100 NA 5 SL trigger pending 0 NA nse_cm ONGC 1 1200000002127535 24-Nov-2022 13:44:14 BO 221124000024578 100 NSE NA 622648 111111111111000 00.00 136.35 S 1 ONGC-EQ 0 0 N 00.00 sl modify 54407 0 -- 2 2 NA 0.0 -- 221124000024582 NA 24/11/2022 13:44:14 -- 622648 OIL AND NATURAL GAS CORP. Ok Nov 24 2022 09:30:15 1 ACEPL9131B 0.0 1 2475 -- DAY 1 EQ 1 622648 -- 1669277654 2511 150.15 1 0 10 NA NA 3 XX 516295 1 82 -- 82 NA 5 L open 0 NA nse_cm ONGC 1 1200000002127532 24-Nov-2022 09:30:15 BO 221124000024578 82 NSE NA 622648 111111111111000 00.00 00.00 S 1 ONGC-EQ 0 0 N 00.00 status 54407 0 -- 1 2 NA 0.0 -- 221124000024579 NA 24/11/2022 09:30:15 -- -- OIL AND NATURAL GAS CORP. Ok Nov 24 2022 09:30:15 1 ACEPL9131B 0.0 1 2475 -- DAY 1 EQ 1 622648 -- 1669262415 2512 00.00 1 0 10 NA NA 3 XX 512932 1 182 -- 0 NA 5 L complete 0 NA nse_cm ONGC 1 1200000002127528 24-Nov-2022 09:30:15 BO 0 NSE NA 622648 111111111111000 138.00 00.00 B 1 ONGC-EQ 182 0 N 00.00 fill 54407 0 -- 2 NA 0.0 -- 221124000024578 NA 24/11/2022 09:30:15 -- -- OIL AND NATURAL GAS CORP. Ok Nov 24 2022 09:30:15 1 ACEPL9131B 0.0 1 2475 NEST_REST_NEST_REST_API DAY 1 EQ 1 622648 -- 1669262415 2513 150.15 1 0 10 NA NA 3 XX 516550 1 100 -- 100 NA 5 L open 0 NA nse_cm ONGC 1 1200000002127534 24-Nov-2022 09:30:15 BO 221124000024578 100 NSE NA 622648 111111111111000 00.00 00.00 S 1 ONGC-EQ 0 0 N 00.00 status 54407 0 -- 2 2 NA 0.0 -- 221124000024581 NA 24/11/2022 09:30:15 -- -- OIL AND NATURAL GAS CORP. Ok Nov 24 2022 09:30:15 1 ACEPL9131B 0.0 1 2475 -- DAY 1 EQ 1 622648 -- 1669262415 2022-11-24 14:08:45 Order Id: 1200000002127533 Status: trigger pending 2022-11-24 14:08:46 Status is: 2022-11-24 14:08:46 {'stat': 'Not_Ok', 'Emsg': 'No Data'} 2022-11-24 14:08:46 Order Id: 1200000002127535 Status: trigger pending 2022-11-24 14:08:46 Status is: 2022-11-24 14:08:46 {'stat': 'Not_Ok', 'Emsg': 'No Data'} 2022-11-24 14:08:46 Order Id: 1200000002127532 Status: open 2022-11-24 14:08:46 Status is: 2022-11-24 14:08:47 {'stat': 'Not_Ok', 'Emsg': 'No Data'} 2022-11-24 14:08:47 Order Id: 1200000002127534 Status: open 2022-11-24 14:08:47 Status is: 2022-11-24 14:08:47 {'stat': 'Not_Ok', 'Emsg': 'No Data'} 2022-11-24 14:08:47

bhvarshn commented 1 year ago

Team please respond . there is no one from Alice blue to help on this ?

bhvarshn commented 1 year ago

team please respond. is there any one to listen

bhvarshn commented 1 year ago

really a concern that no one is replying

bhvarshn commented 1 year ago

guys where are you all . any one in aliceblue team which can respond