How to fix the "Cannot create ... file" error during TWS installation on MacOS

Background: 

The filesystem permissions are controlled by your machines operating system. One of their functions is to secure your files, preventing unauthorized access or undesired modifications to the system and to your personal data.   

Some software on your computer may modify or override the permissions assigned by the operating system. Under certain circumstances, this prevents the TWS installer from accessing the folder where the application core files have to be created (/users/youruser/home/Applications). In such cases, the TWS installation usually displays the error "Cannot create ... file. Shall I try again?"

In this article we explain how to reset the filesystem permission of the "Applications" folder located under your user home folder in order to allow a smooth run of the TWS installation.
 

Procedure:

 
1. On your keyboard, press ⌘CMD + ⇧Shift +H to open your home folder
 Figure 1
 
2. Select the folder "Applications" within your home folder and press ⌘CMD + I to open the Info panel
 Figure 2
 
2. At the bottom right of the panel, click on the padlock
 Figure 3
 
3. To unlock the permissions panel, enter your MacOS credentials and click OK
 Figure 4
 
4. In the line correspondent to "everyone", click on "No Access" (Figure 5) and then select "Read & Write" (Figure 6)
 Figure 5                                                                            Figure 6
 
 
5. Click on the icon bellow the permissions panel and select “Apply to enclosed items..."
 Figure 7
 
6. Now run the TWS installer and click on Next> until you complete the installation
 Figure 8

7. Once the installation has completed successfully, repeat the previous steps from 1. to 5. setting back the permissions of “everyone” to “Read Only” to revert your changes to the initial status

 

 

IB TWS和IB Key整合為移動IBKR

概況

如何遷移賬戶使用者取決於您當前使用何種應用程序:

1. 您的智能手機僅用於交易(安裝了IB TWS)- 點擊此處
2. 您的智能手機僅用於驗證(安裝了IB Key) -  點擊此處
3. 您的智能手機既用於交易,也用於驗證(安裝了IB TWS和IB Key) - 點擊此處
4. 您的智能手機用於進行借記卡交易(安裝了IB Key) -  點擊此處
 

您是IB TWS用戶

您使用手機上的IB TWS交易,但您未使用IB Key。
1. 在首次打開應用程序時,您將看到以下新的主頁面。
圖1是iOS設備上的移動IBKR主頁面。圖2是安卓設備的版本。

  
圖 1                                                            圖 2

2. 點擊“交易”按鈕。
3. 應用程序的其它方面與您之前使用的一樣。
 

 

通過“交易”頁面訪問其它功能

如您希望使用移動IBKR的其它功能,比如驗證模塊或借記卡功能:

對於iOS設備(圖3)
1. 打開菜單上的“更多”(頁面右下角)。
2. 滾動到頁面底部。
對於安卓設備(圖4)
1. 打開“應用”菜單
2. 滾動到底部的App設置

   
圖3                                                                                          圖 4
 

您是IB Key使用者

激活

1. 打開移動IBKR并點擊“驗證”。
2. 應用程序會檢測設備上是否安裝了IB Key并提示您下一步如何操作 - 要么自動遷移(圖5),要么先更新、然后再自動遷移。
您也可選擇之后再手動遷移。

 
圖5                                                          圖6                                                          圖7

遷移完成后,如您嘗試運行獨立的IB Key應用 - 即您之前驗證過的IB Key - 您將看到以下界面(圖8)。


圖8

 

日常操作


A. 如您有網絡連接,則日常登錄沒有任何變化 - 系統會使用無縫驗證:
1. 在(TWS、賬戶管理、網頁交易者或移動IBKR)的相應區域內輸入您的登錄信息。點擊“登錄”。
2. 系統會向您的手機發送一條通知 - 點擊該通知。
3. 取決於您的設備,(在iOS設備上)將面部置於攝像頭前或在指紋傳感器上按壓指紋,或(在安卓設備上)輸入您的PIN碼。系統會自動登錄。


B. 如您沒有互聯網連接,您可通過驗證-響應的模式使用移動IBKR:
1. 在(TWS、賬戶管理、網頁交易者或移動IBKR)的相應區域內輸入您的登錄信息。點擊“登錄”。
2. 點擊“我沒有收到通知”。
3. 打開移動IBKR并點擊“驗證”。
4. 在您手機的“驗證碼”區域輸入登錄界面上顯示的值。點擊“生成”按鈕。
5. 在登錄界面的“響應字符串”區域輸入您智能手機應用顯示的值。點擊“登錄”。

 

您既是IB TWS的使用者,也是IB Key的使用者

1. 請先激活移動IBKR程序的“驗證”模塊(點擊此處)。
2. 點擊您新的移動IBKR應用主頁面上的“交易”按鈕登錄交易界面(點擊此處)。

 

您使用IB借記卡

1. 請先激活移動IBKR程序的“驗證”模塊(點擊此處)。
2. 在移動IBKR應用的主頁面上點擊“借記卡”按鈕。其它功能的使用和過去一樣

 

 

IB TWS and IB Key Merger into IBKR Mobile

OVERVIEW

The migration for your user depends upon your current use of the apps as follows:

1. Your Smartphone is solely used for trading (IB TWS installed) - Click Here
2. Your Smartphone is solely used for authentication (IB Key installed) -  Click Here
3. Your Smartphone is used for both trading and authentication (IB TWS and IB Key installed) - Click Here
4. Your Smartphone is used for Debit Card transactions (IB Key installed) -  Click Here
 

You are a user of IB TWS

You have been trading on your smartphone with IB TWS and you have not used IB Key.
1. Upon first launch of the application you will see the following new Home Screen.
Figure 1 is the Home Screen of IBKR Mobile for iOS devices. Figure 2 is the Android device version.

     
Figure 1                                                     Figure 2

2. Tap on the Trade button.
3. The rest of the application experience is identical to what you have already used in the past.
 

 

Access to the other functions from the Trading Screen

If you wish to access the other functions of the IBKR Mobile, such as the Authentication module or the
Debit Card functions:

For iOS (Figure 3)
1. Open the menu ‘More’ (lower right-hand corner of your screen).
2. Scroll to the very bottom of this page
For Android (Figure 4)
1. Open the Application menu
2. Scroll to the bottom section - App Settings

       

Figure 3

    

Figure 4
 

You are an IB Key user

Activation

1. Launch the IBKR Mobile and tap on Authentication.
2. The app will detect the installation of the IB Key and will suggest a course of action - either an
automated migration (Figure 5) on an update and then automated migration.
You can as well choose to manually migrate at a later point.

     
Figure 5                                                 Figure 6                                                 Figure 7

After the migration is completed, should you run the IB Key standalone application - the one you have
authenticated with in the past - you will see the following screen (Figure 8).


Figure 8

 

Daily Operation


A. Nothing changes in the daily login experience if you have an Internet connection - the Seamless
Authentication process will be used:
1. Enter your credentials in the corresponding fields (in the TWS, Account Management, WebTrader or
IBKR Mobile). Click on Login.
2. The system will send you a notification on your smartphone’s screen - tap on it.
3. Depending on your device, present your face to the camera or fingerprint on the sensor (iOS) or
enter your PIN code (Android). The system will the automatically proceed with the login.


B. If you have no Internet connection, you will use the IBKR Mobile in Challenge-Response mode:
1. Enter your credentials in the corresponding fields (in the TWS, Account Management, WebTrader or
IBKR Mobile). Click on ‘Login'.
2. Click on the link saying “I did not receive a notification”.
3. Launch the IBKR Mobile and tap on ‘Authentication’.
4. In the field Challenge of your smartphone application enter the values displayed on the Login
Screen. Tap the ‘Generate’ button.
5. Enter the values displayed by your smartphone app into the field Response string on the Login
Screen. Click ‘Login’.

 

You are a user of both IB TWS and IB Key

1. Please complete first the procedure for the activation of the Authentication module of the IBKR
Mobile app (Click Here).
2. Login to the trading screen by taping on the Trade button of the Home Screen in your new IBKR
Mobile app (Click Here).

 

You use an IB Debit Card

1. Please complete first the procedure for the activation of the Authentication module of the IBKR
Mobile app (Click Here).
2. On the Home Screen of the IBKR Mobile app tap on the Debit Card button. The rest of the experience
is identical to what you have already used in the past.

 

 

How to check and solve connectivity issues affecting the Trader Workstation (TWS)

Background: 

The Trader Workstation (TWS) software needs to connect to our gateways and market data servers in order to work properly. Connectivity issues affecting your local network or your Internet Service Provider network may negatively affect the TWS functionality. In this article we will indicate how to test your connectivity using an automated connectivity test web page.

 

How to test the connectivity using the automated "IB Connectivity Test" web page?

1) Click on this link: http://www.interactivebrokers.com/cgi-bin/conn_test.pl 

2) Please wait until all the tests have been completed and results have been displayed. If you see "Success" as outcome for all tests, your connectivity to IB Servers is reliable at the present moment. No additional connectivity troubleshooting or configuration should be needed.

3) If you see "Fail" as outcome for one or more test/s, please click on the link "Fail" itself in order to display the "IB Network Troubleshooting Guide". That section will help you conduct some manual tests to identify the cause of the failure.

Note for Corporative environments and Proxy server users: the automated "Connectivity Test" page may return misleading results in case your machine is accessing the Internet through a Proxy server. This usually happens if you are connected to a company network. If this is your case, we kindly ask you to contact your Network Administrator or your IT Team and ask them to perform a manual connectivity tests towards the destination servers indicated in the table on the top of the IB automated "Connectivity Test" web page itself. The manual connectivity test should be conducted using destination TCP ports 4000 and 4001. Should they prefer to have the server list in another format or should they need to set up the firewall / IP Management rules, you can forward them this page.

 

盈透證券歡迎您

Overview: 

現在您的賬戶已完成入金并獲批,您可以開始交易了。以下信息可以幫助您入門。

  1. 您的資金
  2. 設置您的賬戶以進行交易
  3. 如何交易
  4. 在全球範圍進行交易
  5. 拓展您IB經驗的五個要點

 

1. 您的資金
存款&取款基本信息。所有轉賬都通過您的賬戶管理進行管理
存款
首先,通過您的賬戶管理 > 資金 > 資金轉賬 > 轉賬類型:“存款”創建一個存款通知(如何創建存款通知)。第二步,通知您的銀行進行電匯轉賬,在存款通知中提供詳細銀行信息。
取款
通過您的賬戶管理 > 資金 > 資金轉賬 > 轉賬類型:“取款”創建一個取款指令(如何創建取款指令
如果您通知要進行超出取款限額的取款,則會被視為異常取款,我們因此將需要匹配銀行賬戶持有人和IB賬戶。如果目的地銀行賬戶已被用作存款,那麼取款將會被處理;否則,您必須聯繫客戶服務并提供所需文件。
錯誤排查
存款:我的銀行發出了資金,但我沒有看到資金記入我的IB賬戶。可能的原因:
a) 資金轉賬需要1至4個工作日。
b) 存款通知缺失。您必須通過賬戶管理創建存款通知并向客戶服務發送一條咨詢單。
c) 修改詳情缺失。轉賬詳情中缺失您的姓名和IB賬戶號碼。您必須聯繫您的銀行索取完整的修改詳情。
d) IB發起的ACH存款7個工作日內限額為10萬美元。如果您開立的是初始要求為11萬美元的投資組合保證金賬戶,最好選擇電匯存款以減少您第一筆交易的等待時間。如果選擇ACH,會需要等待近2周時間,或者可以選擇臨時升級至RegT。
取款:我已經請求了取款,但我沒有看到資金記入我的銀行賬戶。可能的原因:
a) 資金轉賬需要1至4個工作日。
b) 被拒。超出最大取款限額。請檢查您賬戶的現金餘額。注意,出於監管要求,存入資金時會有三天置存期,之後才可以被取出。
c) 您的銀行退回了資金。可能是因為接收銀行賬戶與匯款銀行賬戶名稱不匹配。

 

2. 設置您的賬戶以進行交易
現金與保證金賬戶的區別:如果您選擇快速申請,默認您的賬戶類型為配備美國股票許可的現金賬戶。如果您想使用槓桿并以保證金交易,參見此處如何升級為RegT保證金賬戶
交易許可
為了能夠交易特定國家的某一特定資產類別,您需要通過賬戶管理獲得該資產類別的交易許可。請注意,交易許可是免費的。但您可能需要簽署當地監管部門所要求的風險披露。如何請求交易許可
市場數據
如果想獲取某一特定產品/交易所的實時市場數據,您需要訂閱交易所收費的市場數據包。如何訂閱市場數據
市場數據助手會幫助您選擇正確的數據包。請觀看該視頻,其解釋了市場數據助手是如何工作的。
客戶可以通過從未訂閱的代碼行點擊免費延時數據按鈕選擇接收免費的延時市場數據。
顧問賬戶
請閱讀用戶指南顧問入門指南。在這裡,您可以看到如何向您的顧問賬戶創建其他使用者以及如何授予其訪問權限等等。

 

3. 如何交易
如果想學習如何使用我們的交易平台,您可以訪問交易者大學。在這裡您可以找到我們以10種語言提供的實時與錄製網研會以及有關交易平台的課程與文檔。
交易者工作站(TWS)
要求更高級交易工具的交易者可以使用我們做市商設計的交易者工作站(TWS)。TWS有著便於操作的電子表格式界面,可優化您的交易速度和效率,支持60多種定單類型,配備可適應任何交易風格的特定任務交易工具,并可實時監控賬戶餘額與活動。試試兩種不同模式:
魔方TWS:直觀可用性, 簡便的交易准入,定單管理,自選列表與圖表全部在一個窗口呈現。
標準模式TWS:為需要更高級工具與算法的交易者提供高級定單管理。
基本描述與信息 / 快速入門指南 / 用戶指南
互動課程:TWS基礎 / TWS設置 / 魔方TWS
如何下單交易:標準模式TWS視頻 / 魔方TWS視頻
交易工具:基本描述與信息用戶指南
要求:如何安裝適用於Windows的Java / 如何安裝適用於MAC的Java / 需打開端口4000和4001
登錄TWS / 下載TWS
網絡交易者(WebTrader)
偏好乾淨簡潔界面的交易者可以使用我們基於HTML的網絡交易者。網絡交易者便於查看市場數據、提交定單以及監控您的賬戶與執行。從各瀏覽器使用最新版本網絡交易者
快速入門指南 / 網絡交易者用戶指南
簡介:網絡交易者視頻
如何下單交易:網絡交易者視頻
登錄網絡交易者
移動交易者(MobileTrader)
我們的移動解決方案可供您隨時隨地用您的IB賬戶進行交易。IB TWS iOS版和IB TWS BlackBerry版是為這些型號定制設計的,而通用的移動交易者支持大多數其他職能手機。
基本描述與信息
定單類型 可用定單類型與描述 / 視頻 / 課程 / 用戶指南
模擬交易 基本描述與信息 / 如何獲得模擬交易賬戶
一旦您的模擬交易賬戶創建成功,您便可用模擬交易賬戶分享您真實賬戶的市場數據:賬戶管理 > 管理賬戶 > 設置 > 模擬交易

 
4. 在全球範圍進行交易
IB賬戶為多幣種賬戶。您的賬戶可以同時持有不同的貨幣,可供您從一個賬戶交易全球範圍內的多種產品。
基礎貨幣
您的基礎貨幣決定了您報表的轉換貨幣以及用於確定保證金要求的貨幣。基礎貨幣在您開立賬戶時決定。客戶隨時可通過賬戶管理改變其基礎貨幣。
我們不會自動將貨幣轉換為您的基礎貨幣
貨幣轉換必須由客戶手動完成。在該視頻中,您可以學習如何進行貨幣轉換。
要開倉以您賬戶所不持有之貨幣計價的頭寸,您可以有以下兩種選擇:
A) 貨幣轉換。
B) IB保證金貸款。(對現金賬戶不可用)
請查看該課程,其解釋了外匯交易方法。

 

5. 拓展您IB經驗的五個要點
1. 合約搜索
在這裡,您會找到我們的所有產品、代碼與說明。
2. IB知識庫
IB知識庫包含了一系列術語、指導性文章、錯誤排查技巧以及指南,旨在幫助IB客戶管理其IB賬戶。只需在搜索按鈕輸入您想要了解的內容,您便會得到答案。
3. 賬戶管理
我們的交易平台可供您訪問市場,賬戶管理則可供您訪問自己的IB賬戶。使用賬戶管理可管理賬戶相關任務,如存入或取出資金、查看您的報表、修改市場數據與新聞訂閱、更改交易許可并驗證或更改您的個人信息。
登錄賬戶管理 / 賬戶管理快速入門指南 / 賬戶管理用戶指南
4. 安全登錄系統
為向您提供最高級別的在線安全,盈透證券推出了安全登錄系統(SLS),通過安全登錄系統訪問賬戶需要進行雙因素驗證。雙因素驗證旨在于登錄時採用兩項安全因素確認您的身份:1) 您的用戶名與密碼組合;和2) 生成隨機、一次性安全代碼的安全設備。因為登錄賬戶需要既知曉您的用戶名/密碼又持有實物安全設備,所以參加安全登錄系統基本上可以杜絕除您以外的其他任何人訪問您賬戶的可能性。
如何激活您的安全設備 / 如何獲取安全代碼卡 / 如何退還安全設備
如果忘記密碼或丟失安全代碼卡,請聯繫我們獲取即時幫助。
5. 報表與報告
我們的報表與報告方便查看和進行自定義,覆蓋了您盈透賬戶的方方面面。如何查看活動報表

 

IB TWS Companion App for Apple Watch

Overview: 

Interactive Brokers takes our intuitive and ergonomic mobile trading platform to the next level by providing you a companion app for the Apple Watch.

Background: 

The companion app is designed to display information when a user has logged in to the IB TWS app on their iPhone. It will work in both the Live Trading and Read Only Modes but does not support active trading. This companion app is only available for informational purpose only.

 

Table of contents

 

What does the app do?

At 'glance view' the app will display the following information; Amount of FYI Notification, Account Number, Daily P&L, Net Liquidation Value, Number of Open Orders, Number of Trades Executed, Excess Liquidity and number of Positions you currently own. It will also display the time when it has fetched the information from your iPhone.

Example:

Apple Watch Companion App Glance Screen

 

Back to top

Requirements

  • Must have iPhone 5s or greater, using iOS 9 or later.
  • Must have the IB TWS app installed on your iPhone (version 8.14 or greater)
  • Must have your Apple Watch paired to your iPhone (refer to: Set up your Apple Watch for directions)
  • Must have watchOS 2 running on your Apple Watch.

Important: The Apple Watch applications are only 'companion' apps. This means they are not installed directly on the watch itself, but rather are a function of an application already installed on your iPhone.

 

Back to top

How is the app installed?

 1.  Install the latest version of the IB TWS app on your iPhone.

 2.  Pair your Apple Watch to your phone.

 3.  Launch the Watch app on your phone.

      Apple Watch App Icon

 4.  Scroll down on the main screen until you see your list of apps, locate the IB TWS app and Tap on it.

      IB TWS Listing in the Apple Watch App

 5.  Enable Show App on Apple Watch and Show in Glances by swiping the slider to the right (green).

      Glance View Activation of the IB TWS app

 6.  After the top slider is set to green, you will see a text informing you that the app is being installed. At this stage the phone is sending the application to your watch per Bluetooth. This might take a short moment (approximately 30-60 seconds.) Once completed the companion app has been installed.

 

Note: Once enabled it will 24 hours before P&L shows up on the watch after activation. 

IB TWS not displaying P&L

 

Back to top

How do I confirm the app is installed?

On your Apple Watch click on the crown to access your Home Screen, you should now see an icon for the IB TWS App.

Apple Watch Home Screen

 

Note: Tapping on this icon does not launch the app’s functional screen. It merely displays the information on how to enable the Glance View.

Instruction Screen

 

Back to top

How to check your glances?

To display the 'Glance' view swipe up on the watch face to a glance, then swipe left or right to see all active glances (There is no need to tap on the IB TWS App (1), if so it will only display directions (2) on how to enable Glance view.)

Glance Screen with Reference Number - 1    Glance Screen with Reference Number - 2

 

As an alternative if you don't want to swipe through your active glances, you can hold the crown, ask Siri (1) 'Show the IB TWS glance' (2) then let go of the crown.

Ask Siri with Reference Number 1    "Show IB TWS glance" with Number Reference 2

Refer to Glances on Apple Watch for more details.

 

Back to top

 

How to start multiple TWS sessions on Mac

Background: 

By default the Mac OsX does not allow the user to run multiple sessions of the same application but with the following workaround you can overcome this limitation for the Trader Workstation application.

 

  • In case you are fine with running slightly different versions of the TWS, please follow the instructions on Procedure 1

  • In case you absolutely want to run multiple session of the same TWS version, please follow the instructions on Procedure 2

 

Procedure 1

you can then use this procedure which is the most simple:

1) Open the web page www.ibkr.com

2) Go to the menu Technology --> TWS Software.

3) First download and install one of the auto-updating TWS versions (TWS LATEST or TWS according to your preference).

4) Once you have completed the installation, download and install one of the offline versions (OFFLINE TWS LATEST or OFFLINE TWS according to your preference).

5) You will then see on your Desktop two different Trader Workstation icons. You can use the first shortcut to start the first TWS session and the second one to start the additional one, as you can see on the screenshot below:

 

 

 

 

Procedure 2

1) Launch the first session of the Trader Workstation using the TWS icon present on your Desktop. If you still do not have any Trader Workstation icon, please go to the web page www.ibkr.com and click on the menu Technology -> TWS Software. Then download and install one of the TWS versions present there.

2) Open the Finder and click on Applications on the left side menu. Then select Utilities and then launch Terminal.

3) The Terminal will appear on the screen and will point to the home folder of your current Mac OsX user. Now please enter the commands listed below (as well displayed on the screenshot) on your Terminal. After each one, press ENTER on your keyboard.

cd Applications

cd Trader\ Workstation

open -n Trader\ Workstation.app

4) The login window for your second TWS session will then appear on your Desktop. You can now close the Terminal.

 

Note: the procedure above presumes that the TWS executable is located in the following path: users/yourusername/home/Applications/Trader Workstation/Trader Workstation.app

If at the time you installed the TWS, you selected to install it for all the users of your system, then the TWS executable will be located here:

/Applications/Trader Workstation/Trader Workstation.app

and therefore you would need to issue the following commands in the Terminal:

cd /Applications

open -n Trader\ Workstation.app

 

 

How to overcome the warning message "The signature of the file is corrupt or invalid"

Overview: 

This article describes how to overcome the warning message which you might receive when you download the Trader Workstation or IB Gateway installation packages.

Background: 

Since a Microsoft update has modified the signature validation mechanisms, the Trader Workstation and IB Gateway installation packages might be reported as having an invalid or corrupt signature, although their signature is indeed intact and absolutely valid.

If you are using Microsoft Edge as browser please follow all the steps below. If you are using any other browser start directly from point 3.

 

1. As soon as the installation package has been completely downloaded, you will notice on the bar at the bottom of your browser frame the warning message "The signature of the file tws-... is corrupt or invalid". Please click on the button View Downloads to open the DOWNLOADS panel. 

 

2. Right click on the filename and select Run anyway.

 

 

3. Once the installer has been launched, the SmartScreen filter will display an additional warning message. Click on the link More Info.

 

4. Now click the button Run Anyway to allow the file execution. The installation will then start.

How to install Java on a Linux computer

Overview: 
This article will walk you through the process of installing the official Oracle Java platform on your Linux machine.
 
Background: 
There are many Linux distributions available and many of them come with one or more Java platform/s pre-installed. In the vast majority of the cases the Java platform which comes pre-installed on a Linux machine is not the official Oracle Java, but another one such as OpenJKD or IBM Java. 
The Trader Workstation has been developed on the official Oracle Java platform and shows the most stable behavior and the best performances when run by the official Oracle Java process. Therefore we recommend to all the Linux users, who want to run the Trader Workstation, to install the official Oracle Java platform and set it as the preferred Java environment to be used by the operating system.
 

For the purpose of this guide, we will divide the Linux distributions nowadays available into three big families:

  1. APT based Linux distributions (Ubuntu, Mint) - those distributions use the Advanced Packaging Tool to fetch and install software packages in a semi-automatic way, resolving and taking care of dependencies. 
  2. RPM based Linux distributions (Suse, OpenSUSE, Red Hat, CentOS, Fedora, Oracle Linux) - those distributions allow the installation of software packages (.rpm files), which contain the binary files to be installed on the system and an integrated dependency checker script. The .rpm packages allow a simplified and smooth installation of software without requiring a deep knowledge of the system.
  3. Other Linux distributions  - those distributions may or may not use a specific package manager but all of them allow the installation of software using the source code package (.tar.gz) through a series of command to be issued on the Terminal.

 

How to install the official Oracle Java on APT based Linux distributions

The most simple way to install Java on Ubuntu or Mint is using the webupd8 repository. This method will install the latest version of JDK 8 and the JRE 8 browser plugin. The supported versions are: Ubuntu 15.04, 14.10, 14.04, 12.04 - Linux Mint 17.1, 17, 13

For details, please refer to: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html

a. On your Linux machine, open the "Terminal". If you need help with accessing and using the Terminal, please refer to: https://help.ubuntu.com/community/UsingTheTerminal

b. Become root, by typing su on the Terminal and entering the super user password. Instead of becoming root, you can choose to use the sudo feature (which gives your user the root privileges for a single command). If you want to use sudo, just add sudo before each one of the commands you will enter in the Terminal. You will be requested to enter the sudo password.

c. Add the webupd8 repository by tiping add-apt-repository ppa:webupd8team/java Follow the instructions on the screen. You should be asked to press [ENTER] to continue. Once done, the repository will be added.

d. Type the command apt-get update

e. Enter the command: apt-get install oracle-java8-installer The process will download and install automatically the required packages along with their dependencies. Once the command has completed, the Oracle Java platform will be ready to be used.

Should you prefer to have control of all the phases of the installation, instead of relying on the APT facility, please refer to the instructions on this page: http://www.wikihow.com/Install-Oracle-Java-JRE-on-Ubuntu-Linux

 

How to install the official Oracle Java on RPM based Linux distributions

a. On your Linux machine, open the "Terminal". If you need help with accessing and using the Terminal, please refer to: https://help.ubuntu.com/community/UsingTheTerminal

b. Become root, by typing su on the Terminal and entering the super user password. Instead of becoming root, you can choose to use the sudo feature (which gives your user the root privileges for single commands). If you want to use sudo, just add sudo before each one of the commands you will enter in the Terminal. You will be requested to enter the sudo password.

c. Create the folder /usr/java by issuing the command mkdir /usr/java. If the directory already exists you will see a message indicating that. In this case you can proceed directly to point d.

d. Go to the page https://www.java.com/en/download/linux_manual.jsp

e. If you have a 32 bit system, download the file "Linux RPM" . If you have a 64 bit system, download the file "Linux64 RPM". In either case, please instruct your browser to save the file in the folder /usr/java or move the file to that foder once it has been downloaded.

f. Go back to the Terminal and move to the /usr/java folder by typing cd /usr/java

g. List the content of the folder by typing the command ls -la You should see the file you downloaded. It will be called jre-XuYY-linux-ARCH.rpm (where X is the Java family, YY the update number and ARCH will be i586 for 32 bit installer and x64 for 64 bit installer)

h.  Launch this command to perform the installation: rpm -ivh jre-XuYY-linux-ARCH.rpm  Obviously you need to use the real file name, for example jre-8u65-linux-x64.rpm

Once the installation has been performed, the Oracle Java should be ready to be used. Usually a system restart is not required on Linux machines. In case you see warning or error message/s during the installation, please check their content and search the Internet for possible solutions. Most of the time the warning/error messages maight refer to missing dependencies (this means that another package needs to be installed before you can install Java) or to unsufficient privileges (this means that you are launching the command with a regular user instead of "root"). If you cannot find the proper course of actions to overcome the issue, please refer to the support documentation or forums for your current Linux distribution.

 

How to install the official Oracle Java on other Linux distributions

If your Linux distribution does not support RPM or APT package managers, the installation of Oracle Java can be performed manually in this way:

a. On your Linux machine, open the "Terminal".

b. Become root, by typing su on the Terminal and entering the super user password. Instead of becoming root, you can choose to use the sudo feature (which gives your user the root privileges for single commands). If you want to use sudo, just add sudo before each one of the commands you will enter in the Terminal. You will be then required to enter the sudo password.

c. Create the folder /usr/java by issuing the command mkdir /usr/java. If the directory already exists you will see a message indicating that. In this case you can proceed directly to point d.

d. Go to the page https://www.java.com/en/download/linux_manual.jsp

e. If you have a 32 bit system, download the file "Linux" . If you have a 64 bit system, download the file "Linux x64". In either case, please instruct your browser to save the file in the folder /usr/java or move the file to that foder once it has been downloaded.

f. Go back to the Terminal and move to the /usr/java folder by typing cd /usr/java

g. List the content of the folder by typing the command ls -la You should see the file you downloaded. It will be called jre-XuYY-linux-ARCH.tar.gz (where X is the Java family, YY the update number and ARCH will be i586 for 32 bit installer and x64 for 64 bit installer)

h.  Launch this command to perform the installation: tar zxvf jre-XuYY-linux-ARCH.tar.gz  Obviously you need to use the real file name, for example jre-8u65-linux-x64.tar.gz

i. Once done, enter command ls -la You will see the folder /usr/java/jre1.X.0_YY (where X is the Java family, YY the update number)

l.  The Java executables are now present in the folder /usr/java/jre1.X.0_YY/bin 

m. Now check which is the symbolic link used by the system to access the java executables by entering the commands:

which java  - you will receive an output similar to this: /usr/bin/java  From now on we will refer to this path as javasympath.

which javac  - you will receive an output similar to this: /usr/bin/java  From now on we will refer to this path as javacsympath.

which javaws  - you will receive an output similar to this: /usr/bin/java  From now on we will refer to this path as javawssympath.

Unless your are launching the java applications using the full path (for example /usr/java/jre1.X.0_YY/bin/java ...), you would need to tell your system which java executables should be used when a generic java command is issued. In order to to this, you can either update your alternatives files (if your system supports them) or the symbolic links. Here below you can see the instructions, according to your system:

- If your system uses the alternatives files:

n.  Issue the following commands, paying attention to make the necessary substitutions .

update-alternatives --install javasympath java /usr/java/jre1.X.0_YY/bin/java 1

update-alternatives --install javacsympath javac /usr/java/jre1.X.0_YY/bin/javac 1

update-alternatives --install javawssympath javaws /usr/java/jre1.X.0_YY/bin/javaws 1

- If your system does not use the alternatives files:

n. Issue the following commands, paying attention to make the necessary substitutions .

ln -sf  /usr/java/jre1.X.0_YY/bin/java javasympath

ln -sf /usr/java/jre1.X.0_YY/bin/javac javacsympath

ln -sf /usr/java/jre1.X.0_YY/bin/javaws javawssympath

 

How to fix the error: "Library dbcapi.dll cannot be loaded"

Background: 
 
TWS users may receive the following error message upon configuring TWS to use the eSignal data feed:
 
 
This error may appear for the following reasons:
 
Issue A - You are not using the 32 bit version of TWS and/or eSignal:
The 32-bit versions of both TWS and eSignal have to be installed for the integration to work. In the section below you will find the instructions for installing the 32-bit TWS. Should you need assistance with the installation of the 32-bit eSignal, we suggest you to contact the eSignal customer support.
 
Issue B - There is an incompatibility with the file C:\Jts\dbcapi.dll:
To use 32-bit eSignal version 12, an incompatibility with the C:\Jts\dbcapi.dll file must be fixed. This involves copying a file from the eSignal installation and renaming it to dbcapi.dll. 
 
Note: On certain systems you will need to apply the fixes for both issue A and B. If you applied the fix for issue A (or if you are already sure you are using the 32 bit version of both platforms) and you are still receiving the error message, then please apply as well the fix for issue B.
 
 
 
Instructions to resolve issue A
Installing 32-bit TWS
 
Please open the page http://www.ibkr.com in your browser and perform the steps below:

1) Click on the LOG IN button at the top right corner of the page.

2) Under the section TRADER WORKSTATION, click on TWS Latest.

3) On the next page, click on the link Download for Other Operating Systems.
 

4) Click on the item Windows 32-bit.

5) Make sure that the description under the DOWNLOAD button has changed to "Windows: 32 bit". Click now on DOWNLOAD.

6) Launch the downloaded file. The Trader Workstation installation will start. At this point you may see the warning message "Trader Workstation latest is already installed...". Ignore this warning and click on the button Next > to continue the installation.

 

7) Your "Trader Workstation" Desktop icon will be automatically updated. You can now launch the 32-bit Trader Workstation by a double click on that icon.

If you have launched the 32-bit TWS and the 32 bit version of eSignal but you still receive the same error message, please follow as well the instructions below

 
 
Instructions to resolve issue B
Replacing dbcapi.dll for compatibility between 32-bit TWS and 32-bit eSignal 12

To correct an incompatibility with the dbcapi.dll file, we will replace that file with another version of it taken from the eSignal installation folder. Please follow the steps below to perform the substitution:  

1) Navigate to C:\Jts and rename the file dbcapi.dll to dbcapi_old.dll

2) Navigate to the directory where 32-bit eSignal 12 is installed (most commonly C:\Program Files (x86)\Common Files\Interactive Data\DM)

3) Copy dbcapi_vc8.dll from that directory into the C:\Jts directory.

4) Move to the C:\Jts directory

5) Right click on the dbcapi_vc8.dll file (now in the C:\Jts directory) and select rename. Type dbcapi.dll as the new filename.

6) TWS is now ready to accept the eSignal data feed.

 

Syndicate content