Monday, December 01, 2008     | Register
TradersStudio Forums
Subject: loading independent data streams

You are not authorized to post a reply.   
Author Messages
davidib2001
Posts:7

03-19-2008 1:10 PM Alert 

Dear Murray/Tech Support,

I can't seem to find anywhere in the manual and/or online help how to actually load an independent data stream from a file into an Array.

Any help or direction appreciated

Thanks

David 

murray
Posts:431

03-19-2008 2:53 PM Alert 

In chapter 15 the stock system uses a independent data stream.

If your code contains a reference to independent1,independent2 ect it will automaticly ask you to supply the independent data stream data.

 

davidib2001
Posts:7

03-19-2008 2:58 PM Alert 

Hi Murray,

 

Thank you for the reply.  I'm going to look at chapter 15 right now. 

But ss there no way to programatically assign a file to the independent data stream?

If this cannot be done programatically, is it viable to build a Bararray on the fly by programatically reading the data in using FileOpen, ReadLine, rtc.?

 

 

murray
Posts:431

03-19-2008 5:30 PM Alert 
Yes of course you can read a file and assign the contents to a bar array, but why not use build in independent data features.
davidib2001
Posts:7

03-19-2008 11:07 PM Alert 
Hi Murray,

okay, I'm good. I thought via your reply that everytime I ran the backtest I'd have to manually assign a data file to the independent data stream. This is not how it works so everything is okay.

Thanks
David
You are not authorized to post a reply.
Forums > TradersStudio 2.x > TradersStudio Basic > loading independent data streams



ActiveForums 3.6
TradersStudio® Copyright 2004-2008 All Rights Reserved   |  Privacy Statement  |  Terms Of Use