Connect to TWS using VB Visual Studio
Private Sub btnConnect_Click(sender As Object, e As EventArgs) Handles btnConnect.Click
' the last string variable can be any number should be different
' for more than one program connected to TWS you can have up to 8 different programs
' connected to TWS
Call AxTws1.connect("", "7496", "28") ' The last number can be any number
End Sub
No comments:
Post a Comment