Free Algo Trading - Zerodha - How to do it

Поделиться
HTML-код
  • Опубликовано: 31 дек 2024

Комментарии • 389

  • @TradeViaPython
    @TradeViaPython  7 месяцев назад

    Tick Data Issue ;- Updated kite_trade py file and Sample code on GitHub Link : github.com/TradeViaPython/Kite_Zerodha

    • @yogeshmeshram7735
      @yogeshmeshram7735 7 месяцев назад

      Can you please add the LTP that was present in the earlier file. The code which I created based on the earlier kite_trade.py file is not working. Can you please help. Else I will have to do away with entire framework and start from scratch.

    • @venkateshy8640
      @venkateshy8640 6 месяцев назад

      Please add LTP again in the kite_trade.py file.

    • @pnkzkgp
      @pnkzkgp 5 месяцев назад

      not working.. has there been any reported issues? i am using second method to login

    • @sripathybaskaran7265
      @sripathybaskaran7265 5 месяцев назад

      Second method is not working any more🥲

  • @MASTER-BUY
    @MASTER-BUY 2 года назад +3

    Sir very very informative, and as I have seen your are very knowledgeable , person , as per my experience ,. You deserve 100% audience love

  • @ragendthsfdcpk4031
    @ragendthsfdcpk4031 Год назад +1

    Highly commendable for your effort and giving this knowledge to others...waaa ustad waa..🥰👏

  • @sukhendu2009
    @sukhendu2009 Год назад +9

    you have more potential that this. This channel has the content, that other you-tubers and some package seller are distributing globally. Though I am planning for that (LOL). I think you are quite busy in your daily schedule behind youtube. I think, making this channel content is your hobby for enjoyment. Love you guru. I have learned python from youtube from multiple channels to some extent. But I must admire your tutorial. You have a potential of teaching in simple manner and that is very much catchy. In simple word, you have the tools. Again love you guru. Now My python class is running with you on trading. it is requested to you "a strategy in code with back testing and line by line explanation (if possible)". 🥰🥰🥰

  • @sanatsahu
    @sanatsahu Год назад +1

    Thanx fr your ingenuity to access data into Zerodha account.

  • @dramjl
    @dramjl 2 года назад +2

    Ravinder Ji Once again you have done fabulous job. Keep UP the good work.

  • @Breakout.Hunter
    @Breakout.Hunter 7 месяцев назад

    Thanks BROTHER, I did the same for C# and Working Fine.... :-).... Thanks Once again......

  • @dineshsoni6708
    @dineshsoni6708 Год назад

    Great ,its help me lots. What a easiest way you adopted, please accept my heartily thankfulness for you efforts ❤

  • @chetansahu1505
    @chetansahu1505 Год назад +1

    But we cant punch orders for any indexes right. Because we cant fetch the strike price.

  • @rajatdogra96
    @rajatdogra96 7 месяцев назад +1

    Not working showing input exception bad request , it was working at first and then suddenly stopped working 😢😢😢😢

  • @sugeshkumars9164
    @sugeshkumars9164 Год назад +1

    Hi
    I am not able to place the order in zerodha. The error "Nonetype order is not subscriptable" is showing. Could you help please.

  • @ningyaake
    @ningyaake Год назад +1

    Thanks for your efforts, it takes lot of your personal time to make such videos and share knowledge, If we can place SL and trailing, that would have been great. Nevertheless hats off for your time and efforts. Request all who come here, please like/subscribe/share/comment such videos to help in whatever small way we can to the content creator.

  • @mrfoxcoder
    @mrfoxcoder 2 года назад

    wa waaa maaza agiya
    😃😃

  • @pravin9803
    @pravin9803 Год назад

    Thanks for posting such a useful video. Appreciate your effort to explain all options, in a simple way.

  • @amitsharmapkl
    @amitsharmapkl Год назад +2

    Sir, code for order is not running. The given error is coming:
    Traceback (most recent call last):
    File "E:\algo\order.py", line 5, in
    order = kite.place_order(variety=kite.VARIETY_REGULAR,
    File "E:\algo\kite_trade.py", line 134, in place_order
    order_id = self.session.post(f"{self.root_url}/orders/{variety}",
    TypeError: 'NoneType' object is not subscriptable
    Kindly help. Thanks

  • @R4jeshSingh
    @R4jeshSingh 2 года назад +1

    Good, it worked. thank you. I want to check if the stock price on LC and sell no of order is decreasing then place a buy order on LC, how to do that?

  • @shyamjaiswal7114
    @shyamjaiswal7114 2 месяца назад

    can u implement the event listening, like if any trade happens after a while, of order placement, how would you know that? I think you have to implement a websocket setup to listen the events like this and also with the help of it, live quotes can be captured. Plz implement that, if you can build it, it would be a great freedom from paying to them (ZERODHA)

  • @abhishekchauhan4728
    @abhishekchauhan4728 Год назад

    Thank you very much. Real content which I am searching for days.❣❣❣

    • @abhishekchauhan4728
      @abhishekchauhan4728 Год назад

      You made my trading fast from this video as well as time saving. God bless you bro❣❣❣

  • @ravindrametri1681
    @ravindrametri1681 2 года назад +3

    error showing
    File "d:\Zerodha\kite_trade.py", line 93, in ltp
    data = self.session.get(f"{self.root_url}/quote/ltp", params={"i": instruments}, headers=self.headers).json()["data"]
    KeyError: 'data'

  • @welcometogoldenApple
    @welcometogoldenApple Год назад

    yes very good idea, but we wants the a python code to Triger an order when trading view indicator generate an alert in the same way, please suggest how to link any tradingview indicator without webhook, only by alert massege

  • @chandakaashok4511
    @chandakaashok4511 Год назад

    Thanks for sharing knowledge, future of trading

  • @AtifKHAN-pw4sb
    @AtifKHAN-pw4sb Год назад +1

    Buddy can you make one more video on other brokers like Kotak securities

  • @nandini3006
    @nandini3006 Год назад

    Superb buddy. Great work!

  • @deepakm8811
    @deepakm8811 6 месяцев назад

    wonderful .What all the libraries we need to install on our system? Can we implement strategy and access all the APIs?

  • @dhillon2207
    @dhillon2207 2 года назад

    Thanks a lot for this video, was looking for it from long time. Wonderful!

  • @marveldigitals
    @marveldigitals Год назад

    Very useful, thank you for all the efforts and it's indeed commendable. It's really helpful ...

  • @videoworld4u403
    @videoworld4u403 2 года назад

    Great Work Bro!!!! you are Amazing👏👏👏

  • @IndicThoughts8
    @IndicThoughts8 Год назад +1

    Bhai 1 question hain kya hum underline value pe option buy sell kar sakte hain kya python main for ex -
    Bnf currently trade at 40445
    And 40400 CE trading at 220.
    But I want to excute option position when bnf is going to trade lower than 40415 that time option price market order pe excute hona chahiye aisa hota hain kya...?
    Kya main aisa kar sakta hu kya if bnf trading lower than 40415 then excute 40400 ce at market price. As well as my sl will be 40350 if underlying value going trade lower than this then exit my option position at market price. Will this possible in python. 🤔🤝👍

    • @Lbvi
      @Lbvi Год назад

      Yes kr skte h

    • @IndicThoughts8
      @IndicThoughts8 Год назад

      @@Lbvi Index price considered karke option ka sl target laga sakte hain....?

    • @Lbvi
      @Lbvi Год назад +1

      @@IndicThoughts8 yes

    • @IndicThoughts8
      @IndicThoughts8 Год назад

      @@Lbvi thank you bhai. Ab course karna padega. 🤝👍

  • @RandomFocus143
    @RandomFocus143 7 месяцев назад +1

    entoken isnot working. It gives "login failed !!!" in the CMD screen

  • @happylife9563
    @happylife9563 Год назад +1

    Thank you for valuable information,
    I did all the changes, I am able to do login and fetch the data possible.
    BUT unable to place order as getting following error
    TypeError: 'NoneType' object is not subscriptable
    please let me know how to resolve this error.
    Thanks.

  • @vijayarajbijapure
    @vijayarajbijapure 4 месяца назад

    Hello Sir,
    I do regular intraday for BankNifty Options of Buying and selling. There is a OCO feature in GTT which one of the Target or SL triggere will cancel other. I am more interested in the auto-trailing SL which moves accordingly to the price.
    Lets say current spot price of BNF CE position is 300 and I set a SL of 250. Now when the Price moves to 320, then SL should automatically change to say 265. This way we can reduce loss even if the price comes down and SL gets final hit.
    Can we achieve this in Python?

  • @visasimbu
    @visasimbu Год назад

    I understand from this video we can perform all operations required from algo trade. They how this zerodha chargeable Kite connect API different from zerodha publisher API ?

  • @sudeep9666
    @sudeep9666 Год назад

    Thank you very much. tried it working like charm

  • @impresivevideotv
    @impresivevideotv Год назад

    which programming software you are used in this video

  • @aniketsingh3481
    @aniketsingh3481 Год назад

    It was good but bro one thing is that aapne bass woi cover kiya hai jo already app see kr sakte hein

  • @vatsal715
    @vatsal715 Год назад

    Fabulous work and content :)

  • @ShubhamPatkar-m7c
    @ShubhamPatkar-m7c Год назад

    question is ur are puttling buy sell manually then whats the diffeence here how can i automate this things.

  • @loveuday007
    @loveuday007 2 года назад +1

    nice but following error is occurred:
    Traceback (most recent call last):
    File "E:\Python\Zerodha without api\zerodha.py", line 25, in
    order = kite.place_order(variety=kite.VARIETY_REGULAR,
    File "E:\Python\Zerodha without api\kite_trade.py", line 134, in place_order
    order_id = self.session.post(f"{self.root_url}/orders/{variety}",
    TypeError: 'NoneType' object is not subscriptable
    please reply

    • @SumitSingh-rz8rw
      @SumitSingh-rz8rw 2 года назад

      Make sure you are running it when market is open, other wise it will give this error as order is not executing.

  • @ghaziabad77
    @ghaziabad77 2 месяца назад

    Can we use it for other brokers as well?

  • @marshalsharma-m8f
    @marshalsharma-m8f 9 месяцев назад

    thanks brother..... great help to others.....

  • @srikanthacharya8999
    @srikanthacharya8999 2 года назад

    This is very informative ..Thanks for the video

  • @nselvamca81
    @nselvamca81 2 года назад +1

    Bravo @TradeViaPyton it is pretty use full details you have shared with us. I was using Kite API but the data for API/Wesocket is very limited respective to API Rate Limit. Will try your source for my problem

  • @varuns4472
    @varuns4472 Год назад

    I have question ... what is the use of writing python code when you have clear visible in UI format where in one click job is getting done .... Can i know is there any advantage of using python code.... as we understand , to avoid all this manually we have choosen technology which is in easy and understandable format....

  • @hrk1
    @hrk1 7 месяцев назад

    Outstanding effort.

  • @srinivaskchkn989
    @srinivaskchkn989 Год назад

    Very very useful content!! Thank You very much!! Subscribed your channel!

  • @deltatrades
    @deltatrades Год назад

    Appreciate your efforts buddy! Thanks for this

  • @raghunathsingh71
    @raghunathsingh71 2 года назад

    great work sir aapne bataya ki option chain wale video main bhi phir wala code dal ke option chain fatech kar sakte ho maine option chain wala code likhke run karne par excel started ho jati hai or symbol aa jate hai lekin symbol dalne par expiry date or data nahi aata hai please guide me thanks and regards

  • @thechayy
    @thechayy Год назад

    Hi, Thanks for the beautiful video, I would like to know if I want to close my positions like -5000 reaches, then how do I do it ?

  • @RAHULVJAIN7
    @RAHULVJAIN7 2 года назад

    Great work and appreciate your efforts....keep it up

  • @anjankumarkundu9097
    @anjankumarkundu9097 Год назад

    Thank. How to auto retreive enctoken through chrome selenium?

  • @sehajsethi1436
    @sehajsethi1436 3 месяца назад

    is it possible to add symbol in watchlist using python?

  • @vinayhegde2638
    @vinayhegde2638 11 месяцев назад

    Thank you verymuch for the detailed video.. i just tried to implement this but getting "SSL: CERTIFICATE_VERIFY_FAILED" error.. do you have any thought about this

  • @sushilpatel930
    @sushilpatel930 7 месяцев назад

    Hello sir , how to create a straddle strategy for Banknifty algo create for any broker

  • @technicalkunal5266
    @technicalkunal5266 11 месяцев назад

    Bahot atcha vedio hai bhai

  • @rohitpsk
    @rohitpsk Год назад

    please help me how can i get open interest for an option or future using this method. Thank You

  • @surik3276
    @surik3276 2 года назад +1

    Super effort, really appreciate it.....bt Not able to place NFO orders

  • @antariks
    @antariks 2 года назад +4

    Thank you for this very useful video. Can you please advise how to export the historical data output and save in a CSV file?

    • @Lbvi
      @Lbvi Год назад

      Yes u can save , by df.to_csv('filename.csv') , where df is data which u want to save it

  • @shashikumarmaurya3136
    @shashikumarmaurya3136 7 месяцев назад +1

    Hi, From 18th May API is not working ...is there any changes? it's showing 400 bad request error

    • @DigitalMinds1610
      @DigitalMinds1610 7 месяцев назад

      I am facing same issue. if is there any update please let me know.

  • @Sandeep-Prakash
    @Sandeep-Prakash Год назад

    Thank you. Very informative. What about WebSocket connection?

  • @gvicky1988
    @gvicky1988 Год назад

    Great work Sir👌...How can I achieve this enctoken method in java language?

  • @himadrisekharmondal5811
    @himadrisekharmondal5811 Год назад +1

    Now Order Funtion is not working,
    Showing below Error
    Traceback (most recent call last):
    File "c:/Users/himad/OneDrive/Desktop/Kite_Zerodha-main/experimental.py", line 19, in
    order = kite.place_order(variety=kite.VARIETY_REGULAR,
    File "c:\Users\himad\OneDrive\Desktop\Kite_Zerodha-main\kite_trade.py", line 134, in place_order
    order_id = self.session.post(f"{self.root_url}/orders/{variety}",
    TypeError: 'NoneType' object is not subscriptable

    • @Vnkjoshi
      @Vnkjoshi Год назад

      Same..did you get any solution?

  • @thomaspaul2703
    @thomaspaul2703 2 года назад

    Really appreciate your efforts 👏👏

  • @SanjayRaut-l4v
    @SanjayRaut-l4v 10 месяцев назад

    God Bles you, Thanks

  • @daji1952
    @daji1952 Год назад +1

    TypeError: 'NoneType' object is not subscriptable
    using historical data

  • @Bankniftysurgeon
    @Bankniftysurgeon Год назад

    mujhe order placed ka kohi api chahiye jo ki mouse se hi excute ho jaye jaha pein cursor rakhu udhar limit order and all order excute ho jaye

  • @RaviRajput-mq2ew
    @RaviRajput-mq2ew Год назад

    Superb work brother.

  • @premkumaraland9649
    @premkumaraland9649 2 года назад +1

    Is it possible to add basket order? And what about websocket?

  • @RougedollA
    @RougedollA Год назад

    Nobel work bro super keep going

  • @bhushi5764
    @bhushi5764 Год назад

    Thank you!! It's very very helpful 🙏

  • @rockluckyabhi
    @rockluckyabhi Год назад

    Hi sir how to add stock options on watchlist based on some rules like open = low etc please kindly help🙏

  • @ankitdoifode6053
    @ankitdoifode6053 Год назад

    Thank you very much. If any body is using this please share experience 🙏

  • @vrkambli1
    @vrkambli1 11 месяцев назад

    please let us know what to do to connect with Dhan

  • @GauravSharma-wb9se
    @GauravSharma-wb9se Год назад

    This is very nice...but I am not able to understand whether your app is calling zerodha api or not ....if not then how its getting data ?

  • @chetanpatil6242
    @chetanpatil6242 Год назад

    nice explantation simple and useful.thanks

  • @vidishadebsharma1268
    @vidishadebsharma1268 Год назад

    Very nicely explained, impressive.

  • @amitg4020
    @amitg4020 Год назад

    Thanks for the wonderful video. Is it possible to connect automatically to kite instead of any manual intervention to provide Authentication token.

  • @1976arya
    @1976arya Год назад

    Hello sir , when i am fetching data using kite.quote , it is automatically sorting the watchlist (specified scrips array). how to get the data in the order in which i have ordered the scrips in array. For example if i give input ["NSE:SBIN","NSE:ACC"], it gives the data in order of (ACC,SBIN) instead of (SBIN,ACC)

  • @gopalrai4491
    @gopalrai4491 Год назад

    Will historical_data function work in non market hours?

  • @raghunathsingh71
    @raghunathsingh71 2 года назад

    great work sir ji thanks teaching us

  • @Shortsmoviesviralclip
    @Shortsmoviesviralclip 9 месяцев назад

    Hi algo bana hai hft wala zerodha ka reply pls

  • @jayantpanhalkar4224
    @jayantpanhalkar4224 Год назад

    Hi sir,
    How to put bracket orders?
    Suppose I would like to buy xyz stock on market price and target will be 20 points and stop loss will be 10 points, how to put gtt order?

  • @SenthilKumar-hi4oc
    @SenthilKumar-hi4oc 2 года назад

    Amazing stuff. brilliant Brilliant...

  • @algolove185
    @algolove185 Год назад

    Just want to confirm something - their charges are 2000 Rs plus 2000 Rs. for historical data - so even if we want to use zerodha api to fetch candledatat (because free brokers candledata are not reliable) - will they charge at least 2000 Rs. because obviously we have to login to their api - am confused

  • @yogeshvideos1
    @yogeshvideos1 2 года назад

    Sir your efforts are excellent

  • @shiveshjaiswal1382
    @shiveshjaiswal1382 7 месяцев назад

    Hello sir.. thank you so much for awesome video. I am getting below error
    order = kite.place_order(variety=kite.VARIETY_REGULAR,
    exchange=kite.EXCHANGE_NSE,
    tradingsymbol="ACC",
    transaction_type=kite.TRANSACTION_TYPE_BUY,
    quantity=1,
    product=kite.PRODUCT_MIS,
    order_type=kite.ORDER_TYPE_MARKET,
    price=None,
    validity=None,
    disclosed_quantity=None,
    trigger_price=None,
    squareoff=None,
    stoploss=None,
    trailing_stoploss=None,
    tag="TradeViaPython")
    print(order)
    TypeError: 'NoneType' object is not subscriptable
    Can you suggest what I can change sir ?

  • @Windyy26
    @Windyy26 10 месяцев назад

    sir how do we access volume from this? please reply

  • @knowledgesharing5730
    @knowledgesharing5730 5 месяцев назад

    good job, impressive

  • @chowdeshwarb3009
    @chowdeshwarb3009 7 месяцев назад

    looks like the second method is not working is there an alternative ?

  • @pvajaythota4800
    @pvajaythota4800 Год назад

    this is very insightful.. thank you..

  • @hussainbasha5212
    @hussainbasha5212 4 месяца назад

    Yes, 2nd method of login using enctoken is not working now, could you fix it ??,thanks.

  • @jatankothari2145
    @jatankothari2145 Год назад

    Thank you so much for the informative videos. Is there a way that my algo doesn't stop even I log out from browser?

  • @biswaschiranjit1
    @biswaschiranjit1 2 года назад

    how to export the Last Traded Price data of Nifty constituents to google sheet?

  • @THRIFTY-BULL
    @THRIFTY-BULL Год назад

    Thanks , very knowledgeble video

  • @dipankarmukherjee8578
    @dipankarmukherjee8578 Год назад

    Using this code will it be possible to place basket order. If yes please suggest

  • @codewithkuldeepak
    @codewithkuldeepak Год назад

    brother what about holdings?

  • @tarakeshnc7417
    @tarakeshnc7417 Год назад

    Thank you for the wonderful work !!

  • @rajdagli4387
    @rajdagli4387 7 месяцев назад

    Wont this be to risky to pass credentials like userid and password over http request just like this?

  • @e-commerceassist4891
    @e-commerceassist4891 2 года назад

    Sur I want to place but sell order with small difference if previous order bought

  • @sugeshkumars9164
    @sugeshkumars9164 Год назад

    Can't we place order for stock options using this.

  • @hiddenworld1445
    @hiddenworld1445 Год назад

    Can you create same for chartink after saving session?