Gamestudio Links
Zorro Links
Newest Posts
AssetList(again)
by Leohermoso. 01/29/20 17:21
Imgui Lite-c Development
by 3run. 01/29/20 13:28
Average Position Up
by Leohermoso. 01/28/20 22:07
Question about portfolio composition
by StefanCGN. 01/28/20 20:58
Any Old Timers Still Around?
by elsewood. 01/27/20 16:02
EUR/USD .t6 for 2019
by kalmar. 01/25/20 22:56
Add safety string functions ("strcpy_s", etc.)
by AndrewAMD. 01/25/20 16:43
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
9 registered members (AndrewAMD, StefanCGN, 3run, BlackJack, Leohermoso, painkiller, Alex J., Quad, txesmi), 660 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Wanderr, LabRatNo9, andy_sh, dolorado, alterpips
18362 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: 836
Chicago
AndrewAMD Online
User
AndrewAMD  Online
User

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


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