Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 21,112 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Broker connection (Tradestation), data handling #487278
03/02/23 17:08
03/02/23 17:08
Joined: Feb 2023
Posts: 14
D
DonDiego Offline OP
Newbie
DonDiego  Offline OP
Newbie
D

Joined: Feb 2023
Posts: 14
Hello

I'm new to Zorro.

I've managed to connect to Tradestation, at least with a Demo-account, but that's alright for the moment. There are 2 things I'd like to understand:

- is it possible to control more accounts than the one which is bound to the API-key? On the platform, I have 4 accounts but log-in with only 1 userid/pw and can run strategies for all accounts.
- in case I can control all accounts with 1 API key, how would I address a particular account? Through code?

The other thing is, how do I get data into Zorro. For example 5 years back from the ES perpetual contract with 1min resolution (I think this is t6 data, right?). Could I extract this via an API request or should I generate the data in the Tradestation platform and somehow move it over to Zorro?

Thank you

Re: Broker connection (Tradestation), data handling [Re: DonDiego] #487281
03/03/23 13:45
03/03/23 13:45
Joined: Apr 2008
Posts: 594
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 594
Austria
I think you need an API key for any account that you want to connect. The assetHistory function is for loading data.

Re: Broker connection (Tradestation), data handling [Re: DonDiego] #487283
03/03/23 13:56
03/03/23 13:56
Joined: Feb 2023
Posts: 14
D
DonDiego Offline OP
Newbie
DonDiego  Offline OP
Newbie
D

Joined: Feb 2023
Posts: 14
Ok, I will ask Tradestation how this is supposed to be handled and will have a look into the assetHistory function. Thank you

Re: Broker connection (Tradestation), data handling [Re: DonDiego] #487286
03/03/23 23:57
03/03/23 23:57
Joined: Feb 2017
Posts: 1,809
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,809
Chicago
There is a manual page dedicated to this. It is mandatory reading, every word must be comprehended:
https://zorro-project.com/manual/en/tradestation.htm

Re: Broker connection (Tradestation), data handling [Re: DonDiego] #487288
03/05/23 14:46
03/05/23 14:46
Joined: Feb 2023
Posts: 14
D
DonDiego Offline OP
Newbie
DonDiego  Offline OP
Newbie
D

Joined: Feb 2023
Posts: 14
Andrew,

what makes you think I haven't read the manual and how is your posting related to my question?

Re: Broker connection (Tradestation), data handling [Re: DonDiego] #487292
03/05/23 22:03
03/05/23 22:03
Joined: Feb 2017
Posts: 1,809
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,809
Chicago
See the Accounts.csv configuration example. The API key is separate from the Account ID, so you can have multiple account IDs for the same key. Simply add another Accounts.csv line with a different Account ID.

See the Continuous Contracts listed in the example Asset list. You can use Zorro's included history downloader script on any continuous contract with a similar configuration.

Re: Broker connection (Tradestation), data handling [Re: DonDiego] #487294
03/06/23 06:40
03/06/23 06:40
Joined: Feb 2023
Posts: 14
D
DonDiego Offline OP
Newbie
DonDiego  Offline OP
Newbie
D

Joined: Feb 2023
Posts: 14
Thank you Andrew! That helps a lot. I will look into this and try it out.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1