Portfolio management and strategy backtesting platform