TWS API, #N/A error in Excel

Discussion in 'Interactive Brokers' started by Svalbards, Apr 7, 2021.

  1. zdave83

    zdave83

    #11     Apr 9, 2021
  2. Ok thank you I will try that again.
     
    #12     Apr 9, 2021
  3. fxnewman2

    fxnewman2

    Did you ever figure this out? I have the same problem, neither TWS nor Excel support could fix it, and they spent a good amount of time trying.
     
    #13     Apr 14, 2022
  4. I never got any further on this unfortunately. I’ll have a stab at it again soon.
     
    #14     Apr 16, 2022
  5. Hello - I had the same problem with TWS API RTD Server for Excel - solved it by the following:
    - with Visual Studio (using 2022) - run VS as Adminstrator
    - Load the project(s) in the TWS API directory under - source
    - build the C# Projects ( I did them as .NET framework 4.8 and 64xbit architecture)
    - since you are running the VS as Admin -
    - when the projects build (..\TWS API\source\CSharpClient\TwsRtdServer) - during the build VS will update the registry to point RTD to the .dll you just built.

    probably a couple of steps I left out - TWS API for Excel is built using C#. You can always build the Sample C# App to test functionality.

    Hope that helps :) -
     
    #15     Jul 10, 2023