[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EXE Code too large



PureBytes Links

Trading Reference Links

I sent this message to Kim Horn regarding HashNums:
	"Many thanks for your thoughtful and informative reply.  After careful
reconsideration and testing, I must apologize to everyone for my misleading
statement.  Specifically, when I wrote "You still might find it practical if
you plan to pass values back and forth once or with one IncludeSystem
Statement but after that Good Luck."  I have looked carefully at my code and
realized that using arrays they way I do results in manipulating the
variables stored in HashNums several hundred if not several thousand times
per bar, not once or twice.
	Using HashNums with arrays like I describe above does however slow things
down considerably.  I have two .ela files:  one is called TestHN (HashNums
array) and the other TestTS (TS array).  They are identical in every respect
except one stores variables to HashNums and the other to a TS array.
Applied to a daily chart of some 70 bars the TestHN system loads in 8
seconds and the TestTS loads in 1 sec.  Applied to a RT chart of some 6,500
bars the TestHN system loads in 22 sec. and the TestTS loads in 8 sec.
However, these two files only represent maybe one-fifth of the total code I
want to use.  I think processing more array data will slow things down even
more considerably."


Regards,
Mark.


> -----Original Message-----
> From: Mark J. Cerar [mailto:mcerar@xxxxxxxxx]
> Sent: Wednesday, September 16, 1998 5:11 PM
> To: Jim McConnon; Omega List
> Subject: RE: EXE Code Too Large
>
>
> Welcome to every TS programmers nightmare.  I have used the
> HashNums program but be warned passing values back and forth
> between TS and HashNums slows things down considerably especially
> in long RT charts.  You still might find it practical if you plan
> to pass values back and forth once or twice i.e. with one
> IncludeSystem Statement but after that Good Luck.  There might be
> an interesting solution at Scientific Approaches Tradelab.  Their
> Global Variables program interfaces with Visual Basic.  So you
> could pass the raw data to their Global Variables program, a
> Visual Basic program could process the data and pass it back to
> the Global Variables from where the TS system could import the
> results.  My thoughts are that this could be reasonably fast.  I
> have not used the SciApps TradeLab Modules but I'm looking hard
> at it right now.  There WebSite is http://sciapp.com/index.html
>
> Can anybody out their add their two cents worth?
>
> > -----Original Message-----
> > From: Jim McConnon [mailto:Jmcconno@xxxxxxxxxxxxx]
> > Sent: Wednesday, September 16, 1998 12:14 AM
> > To: Omega List
> > Subject: EXE Code Too Large
> >
> >
> > I have run up against the size limitation for systems in TS 4 build 21
> > (64k?).
> >
> > I have tried to slim down the code as much as possible.  I put
> some print
> > functions into an Include System.  I put some calculations into a
> > function,
> > but that seems like it uses up just as much space.
> >
> > Any thoughts? Use a DLL like Hashnums to pass values? I'm sure
> > others run up
> > against this and TS 5 is not here.
> >
> > Jim
> >