Python Options Trading Bot Interactive Brokers

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024
  • Learn to code and use trading bots like me : codealgotradin...
    Get A Free Trading Algo 👨‍💻: codingtips.jac...
    My Trading Brokerage : www.interactiv...
    My Instagram : / jacobdamaral

ความคิดเห็น • 60

  • @jacobamaral
    @jacobamaral  ปีที่แล้ว +5

    Source code : github.com/Jake0303/RiskyOptionsBot

    • @ajt_2023
      @ajt_2023 ปีที่แล้ว +1

      Thanks for posting! you might want to pin this comment to the top or add the link in the description

    • @user-yj1vb7zc9t
      @user-yj1vb7zc9t ปีที่แล้ว +1

      Need info on a program set up as a strangle

  • @jeremiedumas8555
    @jeremiedumas8555 2 ปีที่แล้ว +7

    Any performance review or backtest? I hope you'll make another video going more in-depth with this strategy. Keep us updated!

  • @rileyheiman1161
    @rileyheiman1161 ปีที่แล้ว +3

    Hi Jacob, This is really amazing. Thank you for showing us how to properly use the functions with interactive brokers!

  • @ceptember.
    @ceptember. 2 ปีที่แล้ว +1

    whoa, I didn't expect this to be a full code along. Thanks a million!

  • @jacobamaral
    @jacobamaral  2 ปีที่แล้ว

    My mistake, options are not an asset technically. They are a derivative.

  • @theWSt
    @theWSt 2 ปีที่แล้ว +3

    Cool, I like to see a coding video yet again, thx! Your other videos are also interesting, but these ones are even more. Do you plan to run the bot permanently?

    • @theWSt
      @theWSt 2 ปีที่แล้ว

      Ninja Trader right? Or do you also use another one?

  • @tanuki548
    @tanuki548 2 ปีที่แล้ว +1

    nice Jake! Exactly what i was busy with the last period..i think what i was missing was the handling of hasNewbar and proper use of asyncio which i had a lot of trial and error... looking forward to build on top.. I have one addition to how to find the closest strike for example but i'll post that in the discord

  • @gdhhdhshsjsjshdhdhdgsvsgs7312
    @gdhhdhshsjsjshdhdhdgsvsgs7312 2 ปีที่แล้ว +1

    Very interesting! Thank you! Interesting to see example of stocks pair trading bot connecting to IB

  • @akshyasharma
    @akshyasharma ปีที่แล้ว +1

    great work, very detailed and good teaching of what functions are doing what!!

  • @matildaanttonen2446
    @matildaanttonen2446 2 ปีที่แล้ว +4

    Love your videos.

  • @yuvalbra
    @yuvalbra 2 ปีที่แล้ว +1

    great, can you add video for combo option buy and sell (sell combo that exist in account) in interactive broker?

  • @Gregory-ud6zq
    @Gregory-ud6zq ปีที่แล้ว +2

    This is really helpful thanks

  • @andrewsaluko
    @andrewsaluko 2 ปีที่แล้ว +1

    Thanks for the shared knowledge 🙏

  • @openmindjustdoit1306
    @openmindjustdoit1306 13 วันที่ผ่านมา

    Hi thanks for this video i saw your course Bot Treading by c# i want ask you this Course about SPX 500 Bot Option Treading , if yes what's about Greeks Delta And gamma so on ,,, let me see you answer thanks broth

  • @jackpatel2830
    @jackpatel2830 5 หลายเดือนก่อน

    Hi Jacob thanks for amazing video.........suppose I want to calculate Moving avarage(or whatever Indicator) based on realtime spy future price , provide condition based on that data and then taking position on spy option 2DTE and $ 5 OTM how to do that

  • @chillenbruno1508
    @chillenbruno1508 11 หลายเดือนก่อน

    Hello, thank you for providing us the basic script. Does IB let you test this on the Paper account? I have NO coding experience but will try my best to modify it for Paper testing and add more functionality/strategies into the bot.

  • @web1n
    @web1n ปีที่แล้ว

    Great video, thank you!
    Is this code available on GitHub or somewhere else?

  • @EXTRAv2
    @EXTRAv2 ปีที่แล้ว +1

    Getting this error: Historical Market Data Service error message:No market data permissions for AMEX STK. Requested market data requires additional subscription for API.
    Do I need to subscribe to market data? Which plan did you select?

  • @HowToLoseWeightDaily
    @HowToLoseWeightDaily 2 ปีที่แล้ว +1

    awesome.. are u for hire?

  • @coreybell3308
    @coreybell3308 ปีที่แล้ว

    Great video, yes I’m about a year late. Anyway I was thinking of switching brokers from TOS to IBKR but before I do, by chance had you created a similar trading bot for TOS using their API? Thx,

  • @RosSwth
    @RosSwth 2 ปีที่แล้ว

    Hi Jacob! Really love your contents. May I know if you are using any backtesting method for your scripts on IB? Thanks!

  • @user-zo8fv2eu7s
    @user-zo8fv2eu7s 6 หลายเดือนก่อน

    Please make a full coding tutorial for expert option bot using python please

  • @binli307
    @binli307 ปีที่แล้ว

    hi Jacob, thanks for all you have done, may i know if it is possible to write a code to dectect all open positions in IB and close them before 15:30 EST?

  • @alexch3618
    @alexch3618 ปีที่แล้ว

    any colocated, sub microsecond, on hardware algorithm direct exchange communication tutorials?

  • @securepul
    @securepul 2 ปีที่แล้ว

    Dude that's straight 🔥

  • @munivoltarc
    @munivoltarc 8 หลายเดือนก่อน

    can u do price action trading bot using python, many youtubers are foolishly using price lagging indicators, what is the purpose of using them, i found price action is more accurate than any thing else, could you make video on it, Thank you

  • @dougwan8150
    @dougwan8150 ปีที่แล้ว

    Thank you for the great video.

  • @milanasart9895
    @milanasart9895 ปีที่แล้ว

    Hi, just a question if i have strategy on Python and i want to use it I need add to class whole strategy( code ) or just name? If just name where whole code suppose to be? Thanks

  • @musicalbirds2928
    @musicalbirds2928 2 ปีที่แล้ว

    Great video. Thanks for sharing.

  • @jason-ub8qz
    @jason-ub8qz ปีที่แล้ว

    i think i am in love with python i love this language so much that i can not even think of other languages.

  • @XbagelmanX
    @XbagelmanX 6 หลายเดือนก่อน

    im running the script on paper trading , says running live but not getting any activity, order fills etc? how does this work exactly?

  • @justinmusic1296
    @justinmusic1296 2 ปีที่แล้ว +2

    Can you do a video about coding a tik tok bot that follows accounts (and yields a return of followers). lace the bot with nested random time limits between clicks/interactions to avoid detection

    • @barrieliving
      @barrieliving 2 ปีที่แล้ว

      I'm the tiktok police. Why do you need this bot?

    • @justinmusic1296
      @justinmusic1296 2 ปีที่แล้ว +1

      @@barrieliving I've been interested in social media bots lately. On tik tok, I've realized that about 1/5 of people followed by an account will return the follow. This bot would be useful for someone trying to get the 1k follower minimum to have the ability to go live. Instead of one wasting tons of time following accounts, they could just use this tik tok bot.
      Bots could be used on tik tok to do many other useful things as well that help increase engagement for someone
      At first when I discovered social media bots, I was annoyed. Now, I realize they are here to stay and can be used by someone to grow their brand in a multitude of ways

    • @barrieliving
      @barrieliving 2 ปีที่แล้ว +1

      @@justinmusic1296 yes - but bots will only get you so far though. it's better to create engaging content hit the algorithym and then grow organically. imagine jake bought 20k subs instead of organically gained them. his videos would have less than 100 views and the subscriber count would really mean nothing. ive read alot into this and ultimately it's about creating an engaging community rather than follower count to be successful on these platforms in any sense

    • @justinmusic1296
      @justinmusic1296 2 ปีที่แล้ว +1

      @@barrieliving I agree organic is most essential for growing your influence, but I have also seen cases where there are very talented people who get very little attention. With the right marketing strategy, using a variety of mechanisms including possibly a few bots to accelerate exposure in beginning stages, I think someone can realize the success they deserve faster

    • @justinmusic1296
      @justinmusic1296 2 ปีที่แล้ว

      @@barrieliving I will also note that most the ways I see social media bots are used are very obnoxious, but I can think of a few more targeted ways they can be used that are beneficial.
      Here's another way I have thought a social media bot can be useful: imagine you are a dude who wants to get into dating. The dating app you use allows you to interact with girls who have shown reciprocal interest in you. Instead of wasting hours and hours "swiping right" or showing interest in several females with hopes they will return interest, you can build a bot that does this task while you are occupied with something else or sleeping. Later, you can check the app to see how many connections you've made and start chatting all the babes who have shown interest back. The end result is lots of time saved and more potential mates to choose from

  • @XbagelmanX
    @XbagelmanX 6 หลายเดือนก่อน

    i get error code Error 200, reqId 31: No security definition has been found for the request , what to do ?

  • @MPReilly2010
    @MPReilly2010 7 หลายเดือนก่อน

    Excellent!

  • @edmondtsang2673
    @edmondtsang2673 ปีที่แล้ว

    great video. can you please do a tutorial with historical data and pandas_ta?

  • @beelinkhome3333
    @beelinkhome3333 2 ปีที่แล้ว

    How to do it if you watch multiple symbols/chains?

  • @ceptember.
    @ceptember. 2 ปีที่แล้ว +1

    Yours still isn't out yet, right?

    • @ceptember.
      @ceptember. 2 ปีที่แล้ว

      @@jacobamaral having second thoughts or will be released when you're done?

  • @andrewwarren8789
    @andrewwarren8789 ปีที่แล้ว +1

    How would you get SPX contract (line 26)? I can't find any function for index.

    • @jacobamaral
      @jacobamaral  ปีที่แล้ว

      Yes there is a way to get Index from ib insync see here : ib-insync.readthedocs.io/api.html#ib_insync.contract.Index

    • @andrewwarren8789
      @andrewwarren8789 ปีที่แล้ว

      @@jacobamaral ah, thank you. I think I should be able to figure it out. You do some great work, keep it up!
      Happy to share what I'm working on with you.

  • @kevinhawthorne5257
    @kevinhawthorne5257 2 ปีที่แล้ว

    Great Video!

  • @Yarrney
    @Yarrney ปีที่แล้ว

    why'd he use Ib_insync instead of ibapi?

  • @joecastagno8255
    @joecastagno8255 2 ปีที่แล้ว

    I installed ib_insync, but when I import it, my interpreter says import cannot be resolved. Any tips on why this could be happening and how to fix?

  • @Reektrades
    @Reektrades 2 ปีที่แล้ว

    Great video

  • @yanivbh8633
    @yanivbh8633 ปีที่แล้ว +1

    can you publish the code? thanks

    • @jacobamaral
      @jacobamaral  ปีที่แล้ว

      Sure : github.com/Jake0303/RiskyOptionsBot

  • @ericblair7044
    @ericblair7044 2 ปีที่แล้ว

    Awesome Jacob! How hard would it be to get an options bot with webull broker? Thank you so much!!!

  • @marctwit5727
    @marctwit5727 2 ปีที่แล้ว

    Please zoom zoom