Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 17,605 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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,806
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,806
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,806
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,806
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