Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Quad, TipmyPip, degenerate_762, AndrewAMD, Nymphodora), 997 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
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,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

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

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