Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Submitting orders to multiple instances of SC

  • Copying orders from one instance of SC to another instance of SC

Enabling for Multiple Instances

  1. In the SCdX custom study, set Support Multiple Instances to “Yes”

  2. Restart SC

Info

After changing "Support Multiple Connections" you must restart SC. It does not matter in which direction you change, from "yes" to "no" or the other way around. In both cases you must restart SC.

Finding the connection name

When “Support Multiple Connections” is Enabled, the connection name appears in the upper right hand cornet on the chart

...

Passing the connection name to the bridge

Pass the connection name in the SCBridge constructor

...

Example connecting to two SC instances

In the example below, we have two SC instances running on the same machine

Each instance has its unique connection name in the upper right hand corner

In python, we create two bridge objects.

...