Professional Documents
Culture Documents
==============================
* Introduction
_______________
Its still possible to do technicals this way, but there are physical
limits to how many charts one can update manually. Also, the eye gets
fatigued after some time. I used to update charts manually and I was
never able to see more than 30 charts at a time. Adjusting for splits
and dividends is another pain. Using a computer is just so much better.
* Components
_____________
a. dbms
b. charting
* Installation
_______________
I have installed vsta on Red Hat based Linux distros. Make sure that git,
mlocate, openssl-devel, expat, expat-devel, libxml2, libxml2-devel,
perl-local-lib, R-core, libcurl-devel and R-core-devel and perl-CPAN
packages are installed. On non-Red Hat distros, you will have to determine
the equivalent packages - unless I learn of them from using Ubuntu :)
Once these packages are installed, the user's cpan needs to be configured
to follow and install the dependencies of Perl modules that we need to
install. At the "cpan" prompt, accept all the default config options,
log out of the cpan session, re-invoke cpan and now run these commands
o conf prerequisites_policy follow
o conf commit
To install the R packages that I use for charting, please run the
following commands at the R prompt.
install.packages("devtools", repos="https://cloud.r-project.org")
require(devtools)
install_github("braverock/FinancialInstrument", repos="https://cloud.r-
project.org")
install_github("braverock/blotter", repos="https://cloud.r-project.org")
install_github("braverock/quantstrat", repos="https://cloud.r-project.org")
install_github("braverock/PerformanceAnalytics", repos="https://cloud.r-
project.org")
Now you will see that the R libraries will be installed under $HOME/R/
* Backups
___________
I recommend rsync.
I suggest you
cp $VSTADIR/dbms/vsta-skel/gencron.* /tmp
Now make the appropriate changes to /tmp/gencron.sh and then run it as