Re: [Factor-talk] a script
On Sat, Mar 16, 2013 at 6:05 AM, Fox McCloud wrote: > Wondering if one stock symbol is typed incorrectly. > > Is there a way to determine the specific value in a sequence on which map > fails? > In the UI listener, clicking the "Traceback" button on top of an error dialog will let you see the data & call stacks at the time of the error. In the command-line listener, type `:s` and `:c` to see the data & calls stacks, respectively. Here, "call stack" isn't even a Factor-specific concept: it's just like the stack trace you'd get from most other languages. In the interest of "teaching a man to fish", I won't point out the issue you're having, but it becomes pretty obvious when you take a look. Your hunch is on the right track. :) Hope that helps, --Alex Vondrak -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] a script
Found some code at ... http://re-factor.blogspot.com/2011/06/yahoo-finance.html Added some words to be able to list the 5-year-high and 5-year-low of each of a sequence of stock symbols. The code seems to work on a few test values. IN: scratchpad: { "DTEGY" "EONGY" "RWEOY" } list However, it fails on a longer list. IN: scratchpad: "dax30adr.txt" utf8 file-lines list Wondering if one stock symbol is typed incorrectly. Is there a way to determine the specific value in a sequence on which map fails? DTEGY EONGY RWEOY DDAIF MURGF DBOEY AZSEY KPLUY DPSGY BASFY SI BAYRY BAMXY VLKAY LNEGY IFNNY DB MRK HENKY SAP ADDYY FSNUY DLAKY MAN FMS HLBZF BDRFY finance.factor Description: Binary data -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
[Factor-talk] a script
Anyone know how to write some factor code to get the 5-year high and low from the historical prices list of a stock symbol on yahoo finance? -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk