Recent content by Fredrik99

  1. F

    Writing a GUI to TWS in C# part 5

    Hello again! Does anyone know a way to automatically login to theTWS from C#? Somebody posted code for automated start and login written In Java, I was not able to make use of it, since it requires a certain library in Java (and I am not allowed use Java on this project) Fredrik
  2. F

    Writing a GUI to TWS in C# part 4

    Thank you so much dcraig! I will study it carefully Fredrik
  3. F

    Writing a GUI to TWS in C# part 4

    If you use 'jemmy', will the automated login do it all for you, or do you also have to start TWS in a separate call? I am writing in C#, but I suppose there is some way I can solve this anyway. I am curious about that fragment. If you have the time, please post it! Thanks! Fredrik
  4. F

    Writing a GUI to TWS in C# part 4

    Hello again! I am still writing on my GUI to TWS. I have posted questions to this forum every now and then, and so far I have got some really useful responses from people here. Now I have come to a point where I need a way to restart the TWS from my own app. I dont see any methods for...
  5. F

    Writing a GUI to TWS in C# part 3

    OK, no timestamps... actually I am after some way to detect that the TWS is down. If it is down it should be restarted. I have implemented a disconnection method, but I don´t see the TWS calling it. If my C# app is running, the TWS will freeze if I close it Fredrik
  6. F

    Writing a GUI to TWS in C# part 3

    By the way, is there any time stamping in the TWS?
  7. F

    Writing a GUI to TWS in C# part 3

    Oh,no need to apologize. I think I´ve never seen such a high quota of useful answers in any other forum on the web. It is really great here!
  8. F

    Writing a GUI to TWS in C# part 3

    Thanks!
  9. F

    Writing a GUI to TWS in C# part 3

    Noooo, I am sorry. You are right. 127, not 172. It works ! Thank you. It is very much Monday morning over here :-) Thanks and thanks again!! Fredrik
  10. F

    Writing a GUI to TWS in C# part 3

    172.19.16.102, is the ip-adress on this machine, as reported by the ipconfig command (executed in the command prompt) I tried 172.0.0.1 as well, but it does not change anything.
  11. F

    Writing a GUI to TWS in C# part 3

    Maybe I make some mistake, I don´t know. Anyway my local ip is 172.19.16.102.Under the Configure menu in IB Trader Working Station, I go to "API" and select trusted Ip addresses and enter 172.19.16.102. I klick apply and OK. Then I turn to my own C#-app and klick connect. And the confirmation...
  12. F

    Writing a GUI to TWS in C# part 3

    SlideShowBob, I found those settings in the TWS. Thank you! Unfortunately the java message box comes anyway. it says: "Accept incoming connection attempt?" I would like to automate this procedure, since there will be noone around to handle it( except the system) Fredrik
  13. F

    Writing a GUI to TWS in C# part 3

    Right now it looks like this, but its sort of besides the point. I wrote the GUI just to be able to test a DLL . the DLL contains all code that directly communicates with the TWS. I will drop the GUI later, when it is time to hook up the DLL to the main program.
Back
Top