sreenivasdoosa / sdoosa-algo-trade-app

Fully automated trading application with multiple brokers support using Node JS
GNU General Public License v3.0
175 stars 129 forks source link

Zerodha - Not able to login #14

Closed arjun-k-r closed 3 years ago

arjun-k-r commented 3 years ago

Hi ,

I have configured zerodha API , Secret Key in config . Client side : login as user and click on " signin Zerodha" , address bar changes with request_token=MyZnXrp3ryeMzDTsq1jgC3JN3ZbEiFMw&action=login&status=success

but "signin zerodha" is still active and

Login Status: Not logged in

Log file 👍 2021-02-09 11:55:18.382 | INFO | ActiveTrades: broker = zerodha 2021-02-09 11:55:20.960 | INFO | Broker Login: broker = zerodha 2021-02-09 11:55:20.964 | INFO | login url => https://kite.trade/connect/login?api_key=e8pb1o7nvowe4eln&v=3 2021-02-09 11:55:21.933 | INFO | Broker LoginCheck: broker = zerodha 2021-02-09 11:55:21.937 | INFO | AlgoStatus: broker = zerodha 2021-02-09 11:55:21.941 | INFO | ActiveTrades: broker = zerodha 2021-02-09 11:55:21.947 | INFO | CompltedTrades: broker = zerodha 2021-02-09 11:55:49.415 | INFO | Broker Login: broker = zerodha 2021-02-09 11:55:49.417 | INFO | login url => https://kite.trade/connect/login?api_key=e8pb1o7nvowe4eln&v=3 2021-02-09 11:55:50.856 | INFO | Broker LoginCheck: broker = zerodha 2021-02-09 11:55:50.859 | INFO | AlgoStatus: broker = zerodha 2021-02-09 11:55:50.862 | INFO | ActiveTrades: broker = zerodha 2021-02-09 11:55:50.867 | INFO | CompltedTrades: broker = zerodha

Please help if i am doing any wrong

Desktop-screenshot

arjun-k-r commented 3 years ago

Resolved after subscribing to Zerodha Historical API also.

Thanks