SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus -- Ignore unavailable to you. Want to Upgrade?


To: Dale Wingo who wrote (5548)7/28/1998 5:28:00 PM
From: Dale Wingo  Respond to of 11149
 
Gary, I'm having a small problem with the call to the LoadSymbol Function...

The VB examples provided return Holidays and I'm trying to omit them.
I've assumed that the value for IgnoreHolidays should be 1 and that the value for UseRAWMode should be 0 so that I can omit the Holiday records. When I do this then the number of days that is returned is always less than what I request. (example: GE 2200 requested but 2132 retrieved.) It looks as if the count of Holidays is involved but I don't know how to "fix" this.

The call looks like:
intDaysLoaded = LoadSymbol(strSymbol, Dt(0), intDaysToLoad, 0, 1)

where strSymbol = "GE" , intDaysToLoad = 2200 and intDaysLoaded = 2132

The earliest date returned is 02/20/1990

If I allow > 2200 to be entered and then request 2235 days it will then load 2166 and the earliest date returned is 01/02/1990.

If you get a chance please let me know what I'm doing wrong..

Thanks,

Dale