Getting the Interactive Brokers API working in 8 minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024

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

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

    Thank you to you and that one person who asked. Great quick start!

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

    Thanks for the video! I was struggling a lot with opening the file and figuring out what was downloaded. Do you think you'll make any tutorials for how to make trading bots with Python? Although since you opened the Java folder in this tutorial, I'm assuming you're a Java developer?
    p.s. i like the Catan in the background

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

    Thank you for this Rachel and good luck with the bot!

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

    The content of this video is awesome, you have covered everything in 8 mins, but there are some of us who can't follow it all fast enough. Your screen navigation and mouse clicks were a bit too fast for me to follow. With limited knowledge in this domain, it becomes frustrating to stop and replay it so many times. Can you make a long version of this video, where you go through the files, creating the project, installing the libraries and everything at a slower pace. Plus give some general guidance on how things typically flow in Java in context of the files and folders IB has provided. Thanks!

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

    Thanks for the video on IB API, thats helpful!

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

    So cool to see this from a young woman! Back in 2013, I wrote code which extended the IBKR Java Sample Application. My algo back tested beautifully. I went live for 2 days and then pulled the plug on it. I'd lost $2013! I shelved it until I could figure out how to automate the selection of an appropriate strategy for the current market action. You know, just the Holy Grail of trading! lol. Needless to say, it's now been 10+ years and I'm just getting back into it after having taken courses in ML. Yeah, that's not going to help. Anyway, I did learn about all the overfitting I'd done in my original algo! Since it's been a while, I was looking for a quick vid to see if the API had changed much since the one I'd used and if I should use a newer version. I'm still not convinced that I need to upgrade. The Swing UI looks the same at least. Under the hood, I would expect some differences. But the older version I have worked just fine for me. So I'm not missing any functionality.. just running into connection issues when I fire her up. I'll share a couple of tips: the big advantage of IBKR over Yahoo and most others for data is that IBKR gives you historical intraday data. That's is a game changer for back testing an intraday algo. Second tip is that, unless it has changed, IBKR will let you sell shares you don't have. In other words, if you don't have them to sell but make a sell action, you will be short the position. That was an expensive lesson. You're welcome- And thank you Rachel!

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

      Moral of the long story above...first understand trading well before writing code for automating it.

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

    Love what you're doing! You content is very inspiring.

  • @bobbygee1654
    @bobbygee1654 2 หลายเดือนก่อน

    Hi Rachel, thank you for your introduction into Java API client dev! May I ask you (or any reader) a question? I have security types BAG in my portfolio, i. e. stock option spreads like a bull put spread. When I request the portfolio via the TestJavaClient.Main class, I only get positions with the sectypes STK and OPT, no secType BAG entry. Any hint how to fetch the BAGs? I'm aware there is a class member comboLegs ...

  • @rc-y
    @rc-y 4 หลายเดือนก่อน

    Thanks very informative, do have plans to do similar content using Python?

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

    Great video! Something that caught me out when attempting to experiment with the API was the lack of data I had access to without getting market data subscriptions (which requires you to hold x amount in your account, plus a recurring fee).
    Unsure if you had the same experience, but was a bit of a hurdle for me to begin with and am currently using a Yahoo Finance API to get historical data as I start to experiment with back testing and strategies, with a plan to just back into Interactive Brokers when I’m ready to jump in.

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

      That's a really good point. I've been paying the ongoing fees, since I'm already using the market data subscriptions for live trading, but yeah it's not the cheapest option. It's so good that yahoo finance has a free API! Combining that with Stake or similar for trading would be awesome... not that Stake is fee-less, but, could be better depending on usage.

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

      Does paper trading also require subscription to get data?

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

      yep it does

    • @moh6410
      @moh6410 3 หลายเดือนก่อน

      forex data is free
      foref-CFD as well.

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

    Exactly what I was looking for, thanks

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

    This was a great intro, thanks!

  • @kosnowman
    @kosnowman 10 หลายเดือนก่อน

    Rachel this is great thank you so much

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

    Excellent presentation. You hav your game on. Thanks so much

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

    Thank you Rachel for sharing this video. I am wondering if you are familiar with C++ and have ever tried or willing to try this with the C++ API on max/linux. If so, are you available for consulting?

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

    Awesome video! Much better than what I found at Interactive brokers. I'm interested in automated trading and I know a lot about trading, but zero about coding. Do you have any advice? Can you give me a class to setup the backtesting and trading tool? I'd love to try it in the 5 minute Opening Range Breakout.

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

    Rachel, Thank you for your videos. I've a question, how to get Order Status(by order id) after placing an order to IBGateway and miss the IB callbacks.

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

    You are the female version of me. Keep up!

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

    Great intro, what about C# do you have any resources to do the same using C# step by step ? Thank you

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

    So where on earth is the IBJT on a Mac supposed to be?

  • @ლუკაგულედანი-ს6თ
    @ლუკაგულედანი-ს6თ 8 หลายเดือนก่อน

    Your tutorial really helped me thnks

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

    Great video. Thanks for sharing.

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

    Great video! Thanks a lot!

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

    do you have or can you make a video on IBKR market data subscriptions, common pitfalls, what beginners should know?

  • @graphdatascientist
    @graphdatascientist 3 หลายเดือนก่อน

    Why the IB docs says the API has to be installed? What does it mean?

  • @mijntraineeship
    @mijntraineeship 3 หลายเดือนก่อน

    Hi Rachel, interesting video, do you have a github repo you can share? Thanks, Bas

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

    Rachel, Thank you for posting your videos. They are sensational, very informative! How difficult would it be to create a 'basic' inter-active website for users to enter a stock symbol and variables for backtesting various pre-defined strategies, like SMA strategy? I have done this in excel but that won't transfer using excel's api. Can you reference some websites that have a similar approach? What API would allow historical stock price data be referenced in formulas specific to a pre-defined strategy?

    • @BarryFence
      @BarryFence 3 หลายเดือนก่อน

      Hi, Did you ever get this figured out? I would love to do this, as well.

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

    Hi, Could you please help me a video on how to do the same with Eclipse? Intellij free version is available to use? Thanks for your help.

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

    Rachel, Thank you really for this effective video.
    I would truly apprecieate if you could clarify an issue, to help me surpass a great barrier; I explain:
    Forex data through IBKR is free; ok. I operate with historical daily data. Through the API (Python) I have already retrieved 5 years of EURUSD daily data (open, high, low, close). Till here, all fine.
    For my strategy, besides price data, I need also the data about volumes.
    Is volume data included in the regular IBKR free Forex package? or do I need to subscribe to another particular Market Data Service?
    What contract variables should I use in the code to retrieve the volumes?
    Thank you again

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

      Forex volume data isn’t available anywhere really. It’s not an IBKR thing, it’s a forex thing.

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

      @@RachelDoji Thank you Rachel for the answer.

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

    Hi Rachel, I'm based in Melbourne and want to set up an API for my IB account, do you know anyone who could help with creating a trading bot or is it something you do?

  • @TK-fd3rm
    @TK-fd3rm ปีที่แล้ว

    Hello....how would I code to buy or sell on the Moving Average X-over...thxs

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

    Hello Miss! What kind of orders do you place with your bot, market, limit? I have tried bots with another popular broker for auto trading and it seems limit orders don't seem feasible at least with this platform for retail traders. Unless there's some secret code I don' t know about. Also if a stock is not very liquid market orders open one's orders to big slippage. Tell me how long you've been using bots and your experience with the orders. Thanks!

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

      I’ve been using market orders since I started, been a couple of years now. I don’t trade illiquid stocks with the bot though

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

    i am from vietnames , thank you

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

    How did you like the book "Designing Data Intensive Applications"? Would you recommend?

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

      Yeah it was good, but I would've got way more value if I'd read it before starting my career. I picked up most of the learnings from that book on the job, so, it would've made my job much easier if i'd already read about them somewhere

  • @salomon5209
    @salomon5209 9 หลายเดือนก่อน

    u save me
    i love u

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

    Never Gonna Give You Up

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

    exist code to IV options scan? thanks

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

    Thanks!

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

    I'm using C++ Builder, not visual studio or python

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

    Miss you rachel

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

    Are you available for consulting? I need some programming help.

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

      What kind of help are you after?

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

    So You don't accually need API for historical data?

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

      Not sure what you mean by this. I showed the historical data API in the video. I use it, but you don't need to

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

      @@RachelDoji basically very crude historical data like in csv file with daily data, not minutes or hours. That is why i thought there MB some way to ommit the API stuff and download csv files dicrectly. Oh, to be absolutley clear - i am in search of specific commodity options data, but to some extend i have it covered by now.
      Btw. Nice to meet You.
      I cancel my question, seems like it cannot be done via code when on paper trading only.

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

    Do you code with c++ at all??

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

      Nope, haven’t used it for work or play

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

      Ah, sorry. Posted the message on the other comment before I saw this msg

  • @AndersonMetta-l1q
    @AndersonMetta-l1q 11 วันที่ผ่านมา

    Runolfsdottir Pike

  • @Rahul-fq9kf
    @Rahul-fq9kf 2 ปีที่แล้ว

    I wish you were doing python instead of java.

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

      Sometimes I wish I was doing python too, there seems to be more people online talking about how to do things with the python API than there are for the java version

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

      lets go python !

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

    wow.. caf.. love it. I don't know java, but I watched the video anyways 😆

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

      Know c++?

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

      Currently building out options strategies and backtesting in c++ using TWS api..

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

      @Jessicalaine72 gmail com maybe we could swap lessons.. if your ever interested in learning C++. I’ve been wanting to pick of Java.

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

      No c++ sorry, and hi, please just be aware that you were talking to a bot pretending to be me. Don't fall for it...

  • @GwendelynnOseguera-Becerra
    @GwendelynnOseguera-Becerra 7 วันที่ผ่านมา

    22424 Kulas Route