Next:
Installation, Setup, and Startup
Up:
The Trading-shim Manual
Previous:
Conclusion
Tutorial
Subsections
Installation, Setup, and Startup
Resource Requirements
The Network
The Trading-shim Database
The IB tws
Resource Selection
Program Configuration
Download and Compile the Shim
Allow Connections to the IB tws
Provide the Connection Parameters
The Configuration Key-Value Pairs
Controlling the Configuration Parameters
Database Creation
Set the Dbms Isolation Level
Create the Databases
Using the
setup.sql
Script to Create the Databases
Using the
create.sql
Script to Recreate the Tables
Shim Startup
Run the Shim
Run the Test Scripts
Locate and View Output
The Shim Command Line
Choosing the Mode
Choosing Options
Deciding Where to Run the Shim
Troubleshooting Connect Problems
Using the Shim
The
trading-shim
Command Set
Commands to Control the Shim
Commands that Trigger Requests
IB tws api Protocol Events
Requests to the IB tws
Messages from the IB tws
Requests
Messages
The Downstream Text Protocols
The Command Language
The Shim Output Format
The Output Prefix
Message Switching
The Encapsulated Body
Adding Info to the Database
Adding Symbols and Contracts to the Database
Data for the table Underlying
Data for the table Symbol
Underlying fills Symbol
ProductMap adds to Symbol
Data for the table Contract
The role of LocalSet
Adding new contracts
2008-11-21