OmniVest Forum OmniVest Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


[Random Quote] -

  Current location        Thread information  
OmniVest User Forums
Questions on Using the Trade Processor
Interactive Brokers TIPS and HOWTOs
Last Activity 7/17/2018 6:22 PM
105 replies, 10202 viewings

Jump to page : 1 2 3 4 5
Now viewing page 1 [25 messages per page]
 
back
Printer friendly version

^ Top
Wes Smith

Veteran
100252525
Posts: 199

Joined: 10/11/2012
Location: Ontario,Canada

User Profile
 
Subject : Interactive Brokers TIPS and HOWTOs
Posted : 3/29/2013 8:37 AM
Post #25050

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
100252525
Posts: 199

Joined: 10/11/2012
Location: Ontario,Canada

User Profile
 
Subject : IB Gateway
Posted : 3/29/2013 8:46 AM
Post #25051 - In reply to #25050

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
100252525
Posts: 199

Joined: 10/11/2012
Location: Ontario,Canada

User Profile
 
Subject : Use a 2nd IB Userid to trade/monitor your acct
Posted : 3/29/2013 9:20 AM
Post #25052 - In reply to #25051

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
100252525
Posts: 199

Joined: 10/11/2012
Location: Ontario,Canada

User Profile
 
Subject : Restricting Access by IP Address
Posted : 3/29/2013 9:37 AM
Post #25053 - In reply to #25052

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
100100100100252525
Posts: 481

Joined: 10/11/2012
Location: Fayetteville, Ga

User Profile
 
Subject : RE: IB Gateway
Posted : 3/29/2013 9:53 AM
Post #25054 - In reply to #25051

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
100050010010010025
Posts: 1844

Joined: 10/11/2012

User Profile
 
Subject : RE: Use a 2nd IB Userid to trade/monitor your acct
Posted : 3/29/2013 9:54 AM
Post #25055 - In reply to #25052

Thanks Wes, I planned on making a similar thread & will at some point, but this is good for now.
^ Top
Wes Smith

Veteran
100252525
Posts: 199

Joined: 10/11/2012
Location: Ontario,Canada

User Profile
 
Subject : RE: IB Gateway
Posted : 3/29/2013 1:02 PM
Post #25064 - In reply to #25054

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
25
Posts: 40

Joined: 3/20/2013
Location: Los Angeles, CA

User Profile
 
Subject : RE: Use a 2nd IB Userid to trade/monitor your acct
Posted : 3/29/2013 1:33 PM
Post #25065 - In reply to #25052

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
100252525
Posts: 199

Joined: 10/11/2012
Location: Ontario,Canada

User Profile
 
Subject : RE: Use a 2nd IB Userid to trade/monitor your acct
Posted : 3/29/2013 1:40 PM
Post #25066 - In reply to #25065

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
5001001002525
Posts: 750

Joined: 10/11/2012
Location: Annapolis, MD

User Profile
 
Subject : RE: IB Gateway
Posted : 3/29/2013 2:18 PM
Post #25067 - In reply to #25064

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
100252525
Posts: 199

Joined: 10/11/2012
Location: Ontario,Canada

User Profile
 
Subject : RE: IB Gateway
Posted : 3/30/2013 8:48 AM
Post #25086 - In reply to #25067

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
100252525
Posts: 199

Joined: 10/11/2012
Location: Ontario,Canada

User Profile
 
Subject : IB Charting
Posted : 4/8/2013 1:44 PM
Post #25333 - In reply to #25086

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]

Attached file : IB-Charting.png (78KB - 2773 downloads)

^ Top
Fred Gordon

Legend
100100100100252525
Posts: 481

Joined: 10/11/2012
Location: Fayetteville, Ga

User Profile
 
Subject : RE: IB Charting
Posted : 4/8/2013 2:37 PM
Post #25334 - In reply to #25333

- 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
100252525
Posts: 199

Joined: 10/11/2012
Location: Ontario,Canada

User Profile
 
Subject : RE: IB Charting
Posted : 4/8/2013 3:02 PM
Post #25336 - In reply to #25334

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

User Profile
 
Subject : RE: Interactive Brokers TIPS and HOWTOs
Posted : 6/6/2013 1:02 AM
Post #25949 - In reply to #25050

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.

Attached file : Question on How to Configure Trusted IP Addresses.pdf (174KB - 460 downloads)

^ Top
Steve2

Elite
5001001002525
Posts: 750

Joined: 10/11/2012
Location: Annapolis, MD

User Profile
 
Subject : RE: Interactive Brokers TIPS and HOWTOs
Posted : 6/6/2013 5:11 AM
Post #25950 - In reply to #25949

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
100100100100252525
Posts: 481

Joined: 10/11/2012
Location: Fayetteville, Ga

User Profile
 
Subject : RE: Interactive Brokers TIPS and HOWTOs
Posted : 6/6/2013 6:31 AM
Post #25952 - In reply to #25949

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

User Profile
 
Subject : RE: Interactive Brokers TIPS and HOWTOs
Posted : 6/6/2013 11:43 AM
Post #25955 - In reply to #25952

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

User Profile
 
Subject : RE: Interactive Brokers TIPS and HOWTOs
Posted : 6/6/2013 3:09 PM
Post #25959 - In reply to #25050

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
100050010010010025
Posts: 1844

Joined: 10/11/2012

User Profile
 
Subject : RE: Interactive Brokers TIPS and HOWTOs
Posted : 6/6/2013 3:39 PM
Post #25962 - In reply to #25959

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

User Profile
 
Subject : TWS Start and IB Gateway
Posted : 6/8/2013 1:26 PM
Post #25986 - In reply to #25054

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.
Attached file : TWS Start loads TWS automatically but not IB Gateway.pdf (1239KB - 353 downloads)

^ Top
John W

Elite
5001002525
Posts: 654

Joined: 10/11/2012
Location: Sydney, NSW, Australia

User Profile
 
Subject : RE: TWS Start and IB Gateway
Posted : 6/8/2013 7:37 PM
Post #25987 - In reply to #25986

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

User Profile
 
Subject : RE: TWS Start and IB Gateway
Posted : 6/9/2013 7:39 PM
Post #25989 - In reply to #25987

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
100100100
Posts: 302

Joined: 2/23/2013
Location: Grand Rapids, MI

User Profile
 
Subject : RE: Interactive Brokers TIPS and HOWTOs
Posted : 6/9/2013 7:48 PM
Post #25990 - In reply to #25959

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

User Profile
 
Subject : RE: Interactive Brokers TIPS and HOWTOs
Posted : 6/9/2013 8:09 PM
Post #25991 - In reply to #25990

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.
Jump to page : 1 2 3 4 5
Now viewing page 1 [25 messages per page]
back

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.