Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Trading Journey
by howardR. 04/24/24 20:04
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, EternallyCurious, Petra, 1 invisible), 788 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Run script connect API TWS #478778
12/16/19 07:53
12/16/19 07:53
Joined: Dec 2019
Posts: 6
I
interzonez Offline OP
Newbie
interzonez  Offline OP
Newbie
I

Joined: Dec 2019
Posts: 6
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.

Re: Run script connect API TWS [Re: interzonez] #478779
12/16/19 07:58
12/16/19 07:58
Joined: Dec 2019
Posts: 6
I
interzonez Offline OP
Newbie
interzonez  Offline OP
Newbie
I

Joined: Dec 2019
Posts: 6
Actually, just found how to do this, trade after test.

Trade begins on my TWS demo account.

Are Tesst is always local?

Re: Run script connect API TWS [Re: interzonez] #478780
12/16/19 12:52
12/16/19 12:52
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Correct. In [Test] mode and [Train] mode, Zorro does not use your broker plugin.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1