s

Integration with data sources

Receiving real-time market data, placing orders, and tracking order status changes requires integration with data sources. Option Workshop allows you to:

  • Configure the trading terminal/gateway and
  • Set up a connection in Option Workshop.

You can use several data sources at the same time.

Integration with CQG

To select a data source:

  1. Open the Settings window by clicking the button on the toolbar.

  2. Open the Data source tab [1].

    Data source tab

  3. Click the Add transport button [2].

  4. Select the CQG Continuum transport in the drop-down list [3].

  5. Fill out the fields [1] and click the OK button [2].

    CQG Continuum parameters

  6. Click the OK button in the Data source tab.

CQG Continuum parameters

  • Type: The data source type name

  • Name: The data source name specified by user

  • Prefix: Prefix, which will be added to every account received from this data source

  • Enable transport: If you uncheck the checkbox, the transport will be added to the list of data sources but OW will not connect to this transport

    Enable transports

  • Connection URL: Address of CQG server to connect. To add the default address click the Default address link. Additionally, you can add the demo address by clicking the Demo address link.

    Information about how to get a demo access (login and password) for CQG Continuum is given here

  • Username: CQG username

  • Password: CQG password

  • Request demo account: A button to request demo access for CQG Continuum

In order to monitor the data source connection status, there are special indicators:

Icon Description
Blinks when a transaction is sent to the data source
Blinks when data is received from the data source
Indicates there is no connection to the data source
Indicates connection to data source is being established
Indicates the data source is connected
Indicates that Option Workshop receives trading data
Indicates that trading data is not being received or interrupted

To temporarily disable a source, use the quick start and stop buttons in the bottom of the Option Workshop window. Click the button to open the Transport control form.

Transport control

To stop the data source, click the button. To start the data source, click the button. To restart all data sources, click the Restart all button.

CQG Continuum demo access

CQG Continuum demo access will expire after 5 days from the date of request. You can use the same email address to request only two demo accounts.

To get a demo access (login and password) for CQG Continuum:

  • click the Request demo account button

    Request CQG demo account

  • enter your email, first and last name, and click the OK button.

    Request CQG demo account

    A form with credentials will appear on the screen

    CQG demo account

  • click the OK button. The Username text box and the Password text box will be filled automatically

CQG Continuum demo access

Integration with Interactive Brokers

Option Workshop can be seamlessly integrated with Interactive Brokers (IB) products such as Trader Workstation (TWS) or IB Gateway. Regardless of the connection type, you can receive and place orders in the trading system.

Integration with Trader Workstation (TWS)

You can download TWS on the Interactive Brokers website

To connect Option Workshop to TWS:

  1. Run TWS and sign in.

  2. Select Edit → Global Configuration….

    TWS Configuration

  3. Select API → Settings in the Configuration tree on the left panel [1].

    TWS settings

  4. Check Enable ActiveX and Socket Clients[2].

    Also pay attention to the Socket port textbox (it is 7496 by default) and Master API client ID textbox (it is 0 by default). If you specify other values, you will need to specify these parameters in the Data sources form.

  5. Click the OK button [3].

  6. In Option Workshop open the Settings window by clicking the button on the toolbar.

  7. Open the Data source tab [1].

    Data source tab

  8. Click the Add transport button [2].

  9. Select the Interactive Brokers transport in the drop-down list [3].

  10. Fill out the fields [1] and click the OK[2].

TWS parameters

  1. Click the OK button in the Data source tab.

In order to monitor the data source connection status, there are special indicators:

Icon Description
Blinks when a transaction is sent to the data source
Blinks when data is received from the data source
Indicates there is no connection to the data source
Indicates connection to data source is being established
Indicates the data source is connected
Indicates that Option Workshop receives trading data
Indicates that trading data is not being received or interrupted

To temporarily disable a source, use the quick start and stop buttons in the bottom of the Option Workshop window. Click the button to open the Transport control form.

Transport control

To stop the data source, click the button. To start the data source, click the button. To restart all data sources, click the Restart all button.

TWS parameters

  • Type: The data source type name

  • Name: The data source name specified by user

  • Prefix: Prefix, which will be added to every account received from this data source

  • Enable transport: If you uncheck the checkbox, the transport will be added to the list of data sources but OW will not connect to this transport

  • Address: IP address of the computer. If IB and OW software are both installed on the same computer, specify localhost or 127.0.0.1 by clicking the Use local machine address link.

  • Port: TWS port. To use the default value click the Use default TWS port link. Its value must match the value of the Socket port textbox in the settings of the source.

  • Client ID: The client number of the application connected to IB. By default, its value is 0. If you have more than one program connected to IB, you need to specify the client number for the appropriate program. Its value must match the value of the Master API client textbox in the settings of the source.

Integration with IB Gateway

You can download IB Gateway on the Interactive Brokers website

To connect Option Workshop to the IB Gateway:

  1. Run IB Gateway and sign in.

  2. Select Configure → Settings[1].

  3. Select API → Settings in the Configuration tree on the left panel [2].

  4. Pay attention to the Socket port textbox (it is 4001 by default) [3] and Master API client ID textbox (it is 0 by default) [4]. If you specify other values, you will need to specify these parameters in the Data sources form.

  5. In Option Workshop open the Settings window by clicking the button on the toolbar.

  6. Open the Data source tab [1].

  7. Click the Add transport button [2].

  8. Select the Interactive Brokers transport in the drop-down list [3].

  9. Fill out the fields [1] and click the OK[2].

  10. Click the OK button in the Data source tab.

In order to monitor the data source connection status, there are special indicators:

Icon Description
Blinks when a transaction is sent to the data source
Blinks when data is received from the data source
Indicates there is no connection to the data source
Indicates connection to data source is being established
Indicates the data source is connected
Indicates that Option Workshop receives trading data
Indicates that trading data is not being received or interrupted

To temporarily disable a source, use the quick start and stop buttons in the bottom of the Option Workshop window. Click the button to open the Transport control form.

Transport control form

To stop the data source, click the button. To start the data source, click the button. To restart all data sources, click the Restart all button.

IB Gateway parameters

  • Type: The data source name

  • Name: The data source name specified by user

  • Prefix: Prefix, which will be added to every account received from this data source

  • Enable transport: If you uncheck the checkbox, the transport will be added to the list of data sources but OW will not connect to this transport.

  • Address: IP address of the computer. If IB and OW software are both installed on the same computer, specify localhost or 127.0.0.1 by clicking the Use local machine address link.

  • Port: IB Gateway port. To use the default value click the Use default Gateway port link. Its value must match the value of the Socket port textbox in the IB Gateway settings.

  • Client ID: The client number of the application connected to IB. By default, its value is 0. If you have more than one program connected to IB, you need to specify the client number for the appropriate program. Its value must match the value of the Master API clienttextbox in the IB Gateway settings.

Integration with IQFeed

You can download IQFeed on the IQFeed website

To connect Option Workshop to the IQFeed data source:

  1. Run IQFeed and login.

  2. In Option Workshop open the Settings window by clicking the button on the toolbar.

  3. Open the Data source tab [1].

  4. Click the Add transport button [2].

  5. Select the IQFeed transport in the drop-down list [3].

  6. Fill out the fields [1] and click the OK[2].

  7. Click the OK button in the Data source tab.

In order to monitor the data source connection status, there are special indicators:

IQFeed connection status

Icon Description
Blinks when a transaction is sent to the data source
Blinks when data is received from the data source
Indicates there is no connection to the data source
Indicates connection to data source is being established
Indicates the data source is connected
Indicates that Option Workshop receives trading data
Indicates that trading data is not being received or interrupted

To temporarily disable a source, use the quick start and stop buttons in the bottom of the Option Workshop window. Click the button to open the Transport control form.

Transport control

To stop the data source, click the button. To start the data source, click the button. To restart all data sources, click the Restart all button.

IQFeed parameters

  • Type: The data source type name.

  • Name: he data source name specified by user.

  • Enable transport: If you uncheck the checkbox, the transport will be added to the list of data sources but OW will not connect to this transport.

    Enable transport

  • Address: IP address of the computer. If the gateway and OW are both installed on the same computer, specify localhost or 127.0.0.1 by clicking the Use local address link