StockFetcher Forums · General Discussion · Syntax Problem???<< >>Post Follow-up
james549
53 posts
msg #34034
Ignore james549
11/21/2004 12:10:39 PM

I can't seem to figure out what is wrong the syntax. SF keeps showing an error with the third line. Help
Fetcher[set{DJI,ind ^DJI}
set{DJI1,ind ^DJI 1 days ago}
set(DJI2,ind ^DJI 2 days ago}
]





yepher
359 posts
msg #34036
Ignore yepher
11/21/2004 1:30:59 PM

try and change the "(" to a "{"


yepher
359 posts
msg #34037
Ignore yepher
11/21/2004 1:33:37 PM

There is also and error in the way you are using the "ind" command.

Fetcher[
set{DJI,ind(^DJI,price)}
set{DJI1,ind(^DJI,price 1 days ago)}
set{DJI2,ind(^DJI,price 2 days ago)}
AND price between 1 and 10
and add column DJI
and add column DJI1
and add column DJI2
]




james549
53 posts
msg #34038
Ignore james549
11/21/2004 2:12:39 PM

Thanks yepher
I thought there was something I was doing wrong.


StockFetcher Forums · General Discussion · Syntax Problem???<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.