Modeling the Stock Market Through Game Theory