Skip to content

Creating a Continuous Spot File (for Interactive Brokers)

By Optuma Team · Updated 2022-09-13

Optuma is compatible with data supplied via Interactive Brokers. By default, the IB data feed does not include a continuous “Spot” file for futures or commodities contracts. For longer term analysis this can be problematic. There is, however, a solution available. Optuma allows you to manually add codes into various exchanges using Interactive Brokers as the source. This article will take you through the procedure of creating a custom Spot code for the SFE SPI200 and how to maintain it as each contract expires.

  • You must have already setup the Sydney Futures Exchange to source data from Interactive Brokers. For information on how this is done, click here.
  • You must be online.
  1. Open Optuma.

  2. Press F3 on your keyboard. The Data File Selector window will display.

  3. Go to the Sydney Futures Exchange Folder and expand down to the SPI 200 Continuous Folder.

  4. Right-click on the Files window on the right-hand side, and in the menu displayed select Add Code.

    Creating a Continuous Spot File 1

  5. The Add Custom Code window will open.

    Creating a Continuous Spot File 2

  6. Set the Code as SPISpot.

  7. Set the Name as SPI 200 Cont File.

  8. Set the Market to (SNFE) Sydney Futures Exchange

  9. Set the Symbol as the current SPI 200 Contract (SPIU15, for example, is the SPI 200 September Contract for 2015).

  10. Set the Sec Type to Future

  11. Set the Multiplier to 25

  12. Set the Currency as AUD.

  13. Set the Decimal Places to 0.00.

  14. Click the OK button.

  15. You will be taken back to the Data File Selector with the newly created code now displayed in the list. Double-click it to open a 1 Day chart for this code.

For the SPI 200 Spot file, the source code will need to be updated once every 3 months as the contracts expire. To do this:

  1. Open Optuma.

  2. Press F3 on your keyboard. The Data File Selector window will display.

  3. Go to the Sydney Futures Exchange folder, and locate the custom code SPISpot.

  4. Right-click on the code and select Edit Code option in the menu displayed.

    Creating a Continuous Spot File 3

  5. The Add Custom Code window will open.

  6. Locate the Symbol field and replace the old contract code, with the new contact code (SPIU11 with SPIZ11 for example).

    Creating a Continuous Spot File 4

  7. Click the OK button.

Once this has been done, the next time you open the chart, the latest data will be sourced from the new contract.

Below are the IB Symbols and the main contracts for the SFE SPI 200 for 2022:

  • March 2022 SPIH22
  • June 2022 SPIM22
  • September 2022 SPIU22
  • December 2022 SPIZ22

Choose which categories of cookies you allow. Strictly-necessary cookies are always on. You can change this any time via the "Cookie Settings" link in the footer.

  • Functional

    Remember preferences like dismissed banners and your dark-mode choice.

  • Analytics

    Help us understand how the site is used so we can improve it.

  • Marketing

    Measure our advertising and help us reach people who may be interested in Optuma.