Run script connect API TWS

Posted By: interzonez

Run script connect API TWS - 12/16/19 07:53

I'm having some issues running scripts, connecting to my TWS account via API

I have a live and a demo account

For example Workshop 4 tutorial

It runs and produces a chart. Presumably from a local data-set. It does not connect to TWS.

The script TradeTest successfully connects to TWS and runs.

How do I specifically have other scripts call or connect to TWS to use data from that source?

Thanks.
Posted By: interzonez

Re: Run script connect API TWS - 12/16/19 07:58

Actually, just found how to do this, trade after test.

Trade begins on my TWS demo account.

Are Tesst is always local?
Posted By: AndrewAMD

Re: Run script connect API TWS - 12/16/19 12:52

Correct. In [Test] mode and [Train] mode, Zorro does not use your broker plugin.
© 2024 lite-C Forums