Fixed the update to deactivate trackers that aren't in this weeks list.
Finished the updating and deactiving of trackers for stocks not on this
weeks ibd50
Added current column to the ranking DB. For previous rankings this
should be set to false when a new ranking is added. This doesn't happen
just yet. Need to get that working.
Last weeks rankings are now all deactivated just before new rankings are entered.
Started to work on the stats logic, but I once again ran into the yahoo
ohlcv update error. Need to make it either consider the time zone or
just not move the date to tomorrow until after 1 am.
Fixed (hopefully) yahoo just after midnight bug.
No longer subscribed to IBD50. Therefore I'm turning off this entire feature.
Moving general stock ohlcv stuff to a securities package so that they
can be accessed by any module we create in the future. Basically they
don't belong solely to IBD50 or IndexBacktesting, so I'm going to put
them in a separate package.
Created securities repo and service
Finished creating symbol and security ohlcv model, repo, and service
Reorganized the code into core, idb50, spring, and soon to be created
backtesting. Still need to remove database and indexbacktest. But I'm
going to remove them as I rewrite them for Spring Data JPA
Creating the backtest init logic.
Attempting to setup abstract model and rule classes so that future
models can be more modular...the only thing I can't figure out just yet
is how these things will all interact.
added a mysql script for use with MySQL Workbench. Should improve
debugging.
Adding abstract model repo and service
code runs. default model is generated. Need to continue adding pieces to
the model.
Trying to work out how to apply rules and the conditional relationships.
Next will be to actually create some rules.
BacktestModelLogic is needed so I can get the OHLCV data from the DB.
Spring doesn't manage JPA objects, so the autowired annotation doesn't
work.
But now I have a method that returns an abstract class that it doesn't
like.
DefaultStats are now calculated in the abstract model. Per model stats
can also be calculated in the extended model. Currently working in the
IndexBacktestingModel.
Program Runs. Worked on the rules. Created d day and follow thru rules.
Removed empty Above30Day rules that I created for testing.
Program saves the model, which automatically saves the rules associated
with the model.