Current location | Thread information | |
![]() ![]() ![]() ![]() ![]() ![]() |
Last Activity 7/17/2018 6:22 PM 105 replies, 10202 viewings |
Printer friendly version |
^ Top | |||
Wes Smith![]() Veteran ![]() ![]() ![]() ![]() Posts: 199 Joined: 10/11/2012 Location: Ontario,Canada ![]() |
I'm starting this tread so we can have a common place for any IB info. Barry .. can this thread be 'pinned' to the top? | ||
^ Top | |||
Wes Smith![]() Veteran ![]() ![]() ![]() ![]() Posts: 199 Joined: 10/11/2012 Location: Ontario,Canada ![]() |
IB Gateway is a slimmed down TWS application that runs on your desktop. It's only for automated systems like the Trade Processor. This has a few advantages... and a few big 'gotchas' Advantages... It's made for 7/24 automated systems 1) It does not have a daily forced reset like TWS does. It will run 24/7 if needed. 2) It uses much less memory than TWS. This can become important if you want to run on a small 'cloud' machine. Disadvantages ... You can't monitor your account while it's logged in. 1) It is for order entry only. -You cannot view trades, orders, positions. -You cannot used it to confirm trades or any TP activity. -You cannot login anyplace else with the same userid This makes using it a little scary/awkward.. As most of us would like to be able to work on our accounts while TP/IB Gateway are connected. There is a solution for this ... in the next post. [Edited by Wes Smith on 3/29/2013 8:49 AM] | ||
^ Top | |||
Wes Smith![]() Veteran ![]() ![]() ![]() ![]() Posts: 199 Joined: 10/11/2012 Location: Ontario,Canada ![]() |
IB only allows a user to be logged in at the same time. This is a problem if you want to monitor your account from a different location and are already logged in with the Trade Processor. The solution is to create a 2nd userid via IB Account Management web application under the "Manage account"/"User Rights" menu. I'm not going to detail how to do this, as it's pretty straight fwd. In IB's view .. A user is a fully separate 3rd party from yourself. People would use this function to grant another person access to your account.. for example an advisor or spouse or 'Trade Processor'. You fill out forms online to define the user/password, determine which rights it has (for example .. Trading only without the ability to withdraw/add funds), etc. Since this 3rd party is a 'trading' user, IB will require you to complete a trading authorization form. It's pretty painless. Just fill it out, fax or scan/email it back to them. So now .. you can use your 2nd userid with IB-Gateway and TP.. and monitor your account via Web or the full TWS app. Downsides... Market Data subscriptions are per user and may have a cost depending on what you subscribe to. It's not a big deal for OV/TP users. These systems trade a lot and will easily cover the minimum commissions to qualify for the US free data bundle. | ||
^ Top | |||
Wes Smith![]() Veteran ![]() ![]() ![]() ![]() Posts: 199 Joined: 10/11/2012 Location: Ontario,Canada ![]() |
This is an advanced topic of interest to those trying to run TP in the cloud, and/or want a 2nd/3rd layer of security. IB allows you to specify which Internet IP addresses are allowed access to your account. This is done in Account Management/Security/IP Restrictions. I plan to experiment with my 'cloud' instance that is running TP on Amazon EC2. I want the IB Username used with it to be restricted to that system. Note .. this function only works if your Internet IP address is 'static' and does not change. As such .. It doesn't apply to most home users as most residential IP addresses are dynamic and will periodically change. | ||
^ Top | |||
Fred Gordon![]() Legend ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 481 Joined: 10/11/2012 Location: Fayetteville, Ga ![]() |
Wes, I use "iTWS" which provides remote trading on TWS with my iPad. Do you happen to know if this is the same thing as IB Gateway? Thanks, | ||
^ Top | |||
Barry Cohen![]() Icon ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1844 Joined: 10/11/2012 ![]() |
Thanks Wes, I planned on making a similar thread & will at some point, but this is good for now. | ||
^ Top | |||
Wes Smith![]() Veteran ![]() ![]() ![]() ![]() Posts: 199 Joined: 10/11/2012 Location: Ontario,Canada ![]() |
FG.. no iTWS isn't related to IB Gateway. The Gateway is just a smaller TWS client that works well for automated systems. It is not force offline once a day like normal TWS is. I haven't played with iTWS much. Can you login on your ipad at the same time you're logged into TWS on your desktop? If so ..then iTWS would be a good alternative to setting up a separate userid. | ||
^ Top | |||
David Lich![]() Member ![]() Posts: 40 Joined: 3/20/2013 Location: Los Angeles, CA ![]() |
Wes- Great idea! I am curious about your comment about duplicate market data subscriptions. I searched the IB site, and could find not guidance. Here's my question - obviously, the Trade Processor login through the Gateway does not need real time market data since it is merely the trader. So, is it possible to sign up for real-time date on only the main user (the TWS user)? Or are you suggesting the second user would automatically incur a second subscription? If it resulted in two subscriptions, then, presumably, there would be no way to meat the minimum on the main user since it does not trade. | ||
^ Top | |||
Wes Smith![]() Veteran ![]() ![]() ![]() ![]() Posts: 199 Joined: 10/11/2012 Location: Ontario,Canada ![]() |
I asked that question to IB. They tell me the 'free' data subscription is based on $30 in commissions for the *account*... not for the userid. So in theory, you would only pay once if you didn't meet that $30 min. As for other market data subs like Canada, Europe etc.. I'm pretty sure that is by userid. Barry .. if you're reading this ... What would the effect be on the TP if the IBGW platform didn't have any market data? Probably not much ??? | ||
^ Top | |||
Steve2![]() Elite ![]() ![]() ![]() ![]() ![]() Posts: 750 Joined: 10/11/2012 Location: Annapolis, MD ![]() |
I use IB's mobile TWS app on my iPad when I'm traveling. Sadly, you can't be logged in twice with the same username. So, if you are logged in from TWS or the IB Gateway, you cannot log in with the same username from the mobile app. I think you do need to create a second username to login concurrently from the IB Gateway and TWS or the mobile app. | ||
^ Top | |||
Wes Smith![]() Veteran ![]() ![]() ![]() ![]() Posts: 199 Joined: 10/11/2012 Location: Ontario,Canada ![]() |
Yeah.. I just verified my 2nd login works well with Mobile TWS. I created a couple extra userids.. - one for the automated/trade processor machine using IB Gateway, one to monitor. It only has trading rights, and can only login from my trading machine IP address. - My original - which is the one I use to monitor from my desktop - one for other use, such as Mobile TWS or monitoring from another place. I don' really need it .. but it is convenient. | ||
^ Top | |||
Wes Smith![]() Veteran ![]() ![]() ![]() ![]() Posts: 199 Joined: 10/11/2012 Location: Ontario,Canada ![]() |
I never thought I would say this, but the TWS build we'e using for OV/TP has some very nice features. - Chart is linked to portfolio... ie the chart changes to the symbol I touch in TWS. - Orders are visible on the chart - Orders can be adjusted on the chart (Similar to OV/VT) --- For example .. it's easy to adjust stops on the chart. - Your position is shown - Your profit/lost for the position is shown - You can close the trade from the chart What I'm do now is letting the TP create a %15 stop loss when it makes a trade. I then view each trade on a chart and adjust the stop to what I feel is a good level (prior support etc)... There are Pros and cons to adjusting stops like this of course .. just using it here as an example of what can be done. [Edited by Wes Smith on 4/8/2013 1:47 PM] ![]() | ||
^ Top | |||
Fred Gordon![]() Legend ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 481 Joined: 10/11/2012 Location: Fayetteville, Ga ![]() |
- Chart is linked to portfolio... ie the chart changes to the symbol I touch in TWS. Hello Wes, I did not know Portfolio could be linked to chart. How is the above function enabled? At present, I must type the symbol onto the chart (build 935.3) Thanks you for the tip, [Edited by Fred Gordon on 4/8/2013 2:40 PM] | ||
^ Top | |||
Wes Smith![]() Veteran ![]() ![]() ![]() ![]() Posts: 199 Joined: 10/11/2012 Location: Ontario,Canada ![]() |
I think it's the group function. You can see a purple box at the top right in the chart I posted. My main TWS window is also set to the 'purple' group. The chart follows TWS because they are both in the same group. Seems to work with the other TWS windows like OptionTrader etc Wes | ||
^ Top | |||
Paul Johansen![]() Member Posts: 14 Joined: 10/11/2012 Location: Kamloops, BC ![]() |
Barry, I have been playing detective on how to configure TWS so that TWS Start will load TWS followed by the Trade Processor. The progress so far is that TWS Start will load TWS and a third program like Word. How do I answer configuration question 6 in the attached notes? The configuration required is for API Settings -> "Trusted IP addresses." Thanks. ![]() | ||
^ Top | |||
Steve2![]() Elite ![]() ![]() ![]() ![]() ![]() Posts: 750 Joined: 10/11/2012 Location: Annapolis, MD ![]() |
Paul, Add 127.0.0.1 to Trusted IP Addresses. This will allow trusted connection requests from your local PC and eliminate the popup. Steve | ||
^ Top | |||
Fred Gordon![]() Legend ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 481 Joined: 10/11/2012 Location: Fayetteville, Ga ![]() |
Paul, was Steve2's suggestion the solutiion for disabling the "drop down"? As you might guess, I would also like to get the TP to reliably open TWS. Thanks, Fred | ||
^ Top | |||
Paul Johansen![]() Member Posts: 14 Joined: 10/11/2012 Location: Kamloops, BC ![]() |
Steve2, Your advice is appreciated. It worked perfectly on both of my computers. | ||
^ Top | |||
Paul Johansen![]() Member Posts: 14 Joined: 10/11/2012 Location: Kamloops, BC ![]() |
Where is the IB Gateway program? I wish to try manually running the IB Gateway program compatible with TWS 935.3 to become familiar with it. Where do I find it? I only see a gateway.ico file in the c:\jts\tws folder. Thanks. | ||
^ Top | |||
Barry Cohen![]() Icon ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1844 Joined: 10/11/2012 ![]() |
It installs with TWS & is available in the Interactive Brokers Start Menu. Start -> Programs -> Interactive Brokers -> IB Gateway. First-time users will need to add the port 7496 in the API settings. | ||
^ Top | |||
Paul Johansen![]() Member Posts: 14 Joined: 10/11/2012 Location: Kamloops, BC ![]() |
TWS Start will load TWS automatically but not IB Gateway. TWS Start will not type in the Login Settings for the IB Gateway. Any configuration suggestions are welcome. ![]() | ||
^ Top | |||
John W![]() Elite ![]() ![]() ![]() ![]() Posts: 654 Joined: 10/11/2012 Location: Sydney, NSW, Australia ![]() |
I'm not sure why you need TWS start. To start IB Gateway is very simple, and once it has started IB gateway keeps on running 24/7. So, a few password key strokes and you are done, Gateway doesn't stop. John | ||
^ Top | |||
Paul Johansen![]() Member Posts: 14 Joined: 10/11/2012 Location: Kamloops, BC ![]() |
IB Gateway in combination with TWS Start appears to be a more robust solution for unattended operations but it comes with the tradeoff of increased complexity to implement. I am looking forward to a cloud solution from Nirvana. | ||
^ Top | |||
BrianD![]() Legend ![]() ![]() ![]() Posts: 302 Joined: 2/23/2013 Location: Grand Rapids, MI ![]() |
Paul: Are you by chance running Windows 8? Microsoft took away the classic Start menu Barry mentioned in Windows 8, and I do not think installing the IB client download 'Pins' the IB Gateway on the 'new' Windows 8 Start menu. If running Windows 8 (and if memory serves me correctly), find the "IB Gateway" API it in the 'Apps' section of Windows 8, under "Interactive Brokers". As John W stated, once the IB Gateway API is started, the API runs continuously (AS LONG AS you keep your server/PC running 7-24), versus TWS logging you off daily. So, you should not need TWS Start. OR, you can you can run 7/24 from a "Cloud" server you source from a hosting site like Amazon, Microsoft, etc. Then you do not need to remember to start TWS, or the IB Gateway, or hope 'TWS Start' will get everything up and running when you boot up, etc. etc, etc. I believe cloud computing is the only way to go with a product like TP - it provides lots of comfort, and some free time :-) | ||
^ Top | |||
Paul Johansen![]() Member Posts: 14 Joined: 10/11/2012 Location: Kamloops, BC ![]() |
Brian, Thanks for the advice. As a next step I will run IB Gateway on a Windows 7 PC that will be on 24/7. I have no experience with any of the cloud services. I will start by looking at the hosting services that you and others have mentioned like Amazon and Microsoft, etc. |
Legend | Action | Notification | |||
Administrator
Forum Moderator |
Registered User
Unregistered User |
![]() |
Toggle e-mail notification |