 |
Bob Parsons
2013-09-08 17:58:35
|
|
Hello,
Any suggestions on how to calculate % change, 20 day moving average, and beta (based on 252 trading days, S&P500 as benchmark index) and add these calculations to the quotes database for each symbol? I would like to export the quotes from the quotes database as well as these indicators to a csv file using the script editor (currently i have a script to do this for all the fields in quotes, but i can't figure out how to add custom fields to the quotes database and add custom functions for a custom field. Any help would be greatly appreciated, thanks.
|
|