Announcement

Collapse
No announcement yet.

Trouble with TWSLink.DLL to IB

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Trouble with TWSLink.DLL to IB

    I am getting an error when i check the sample that came with TWSLink.DLL
    Sure it has been fixed before.
    Any ideas



    Sam
    sam

  • #2
    Hi Sam,
    I use TWSLink and it works for me. Give me some more information, what is the error?
    Tom

    Comment


    • #3
      Hi tom

      I run the sample they sent with it and it diplays an error.
      see attached image

      Thanks
      Attached Files
      sam

      Comment


      • #4
        Tom
        Here is the code
        Attached Files
        sam

        Comment


        • #5
          Hi Sam,
          I can only see part of your code from the screen shot, so I can not see what the problem is.

          So I'm attaching an sample script for options which works for me. Options are more complex then stocks because you have to find the strike, and you can have many strikes per stock. I tested this with IBM, so use that. This script will also display position information after you buy an option and all your account information. Note: IB has "ISSUES" with the P&L information on the trading page, so use the IB account page to look at P&L and the TWSLink output.

          Note: You will have to get the latest DLL from the author to get this to work.

          Tom
          Attached Files

          Comment


          • #6
            Thanks Tom

            Will see how i go

            Sam
            sam

            Comment

            Working...
            X