├── .gitignore ├── CHANGELOG.md ├── README.md ├── __init__.py ├── events ├── Condition.py ├── EventFinder.py ├── EventStudy.py ├── MultipleEvents.py ├── PastEvent.py ├── SampleConditions.py └── __init__.py ├── examples ├── Basic │ ├── DataAccess.py │ ├── DateUtils.py │ ├── EventStudy_Finder.py │ ├── EventStudy_Multiple.py │ ├── EventStudy_Past.py │ ├── FV_PV_R_n.ipynb │ ├── ListUtils.py │ ├── MarketSimulator.py │ └── MarketSimulator_orders.csv ├── Combining │ └── Events and Simulator.ipynb └── ItCFaFE │ ├── Assignment 1 - Excel │ ├── Q&A.pdf │ └── Solution.py │ ├── Assignment 1 │ ├── Q&A.pdf │ └── Solution.py │ ├── Assignment 2 │ ├── Questions │ └── Solution.py │ ├── Assignment 3 - Computations │ ├── Questions.pdf │ └── Solution.py │ ├── Assignment 4 - Matrix Algebra │ ├── Questions.pdf │ └── Solution.py │ └── README.md ├── finance.sublime-project ├── finance.sublime-workspace ├── plots ├── __init__.py └── errorfill.py ├── sim ├── MarketSimulator.py └── __init__.py ├── test ├── AllTets.py ├── FinanceTest.py ├── __init__.py ├── events │ ├── EventFinder.py │ ├── MultipleEvents.py │ ├── PastEvent.py │ ├── __init__.py │ └── docs │ │ ├── MultipleEvents_1.ods │ │ ├── MultipleEvents_window_1.csv │ │ ├── PastEvent_1.csv │ │ ├── PastEvent_1.ods │ │ ├── PastEvent_window_1.csv │ │ ├── test1_1.png │ │ └── test1_2.png ├── sim │ ├── MarketSimulator.py │ ├── __init__.py │ └── docs │ │ ├── Test_1.csv │ │ ├── Test_1.ods │ │ └── orders_1.csv └── utils │ ├── CalculatorTypes.py │ ├── CalculatorValues.py │ ├── DataAccess.py │ ├── DateUtils.py │ ├── FileManager.py │ ├── __init__.py │ └── docs │ ├── Calculator_Assets.ods │ ├── Calculator_Assets_1.csv │ ├── Calculator_TVM.ods │ ├── Calculator_TVM_1.csv │ ├── Calculator_TVM_2.csv │ └── Calculator_TVM_3.csv └── utils ├── Calculator.py ├── DataAccess.py ├── DateUtils.py ├── FileManager.py ├── ListUtils.py ├── __init__.py └── lists ├── NYSE_dates.py ├── NYSE_dates.txt ├── SP500_2008.py ├── SP500_2008.txt ├── SP500_2012.py ├── SP500_2012.txt └── __init__.py /.gitignore: -------------------------------------------------------------------------------- 1 | # Python Specific 2 | *.py[cod] 3 | __pycache__ 4 | 5 | # Mr Developer 6 | data -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/README.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /events/Condition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/events/Condition.py -------------------------------------------------------------------------------- /events/EventFinder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/events/EventFinder.py -------------------------------------------------------------------------------- /events/EventStudy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/events/EventStudy.py -------------------------------------------------------------------------------- /events/MultipleEvents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/events/MultipleEvents.py -------------------------------------------------------------------------------- /events/PastEvent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/events/PastEvent.py -------------------------------------------------------------------------------- /events/SampleConditions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/events/SampleConditions.py -------------------------------------------------------------------------------- /events/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/events/__init__.py -------------------------------------------------------------------------------- /examples/Basic/DataAccess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/Basic/DataAccess.py -------------------------------------------------------------------------------- /examples/Basic/DateUtils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/Basic/DateUtils.py -------------------------------------------------------------------------------- /examples/Basic/EventStudy_Finder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/Basic/EventStudy_Finder.py -------------------------------------------------------------------------------- /examples/Basic/EventStudy_Multiple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/Basic/EventStudy_Multiple.py -------------------------------------------------------------------------------- /examples/Basic/EventStudy_Past.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/Basic/EventStudy_Past.py -------------------------------------------------------------------------------- /examples/Basic/FV_PV_R_n.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/Basic/FV_PV_R_n.ipynb -------------------------------------------------------------------------------- /examples/Basic/ListUtils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/Basic/ListUtils.py -------------------------------------------------------------------------------- /examples/Basic/MarketSimulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/Basic/MarketSimulator.py -------------------------------------------------------------------------------- /examples/Basic/MarketSimulator_orders.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/Basic/MarketSimulator_orders.csv -------------------------------------------------------------------------------- /examples/Combining/Events and Simulator.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/Combining/Events and Simulator.ipynb -------------------------------------------------------------------------------- /examples/ItCFaFE/Assignment 1 - Excel/Q&A.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/ItCFaFE/Assignment 1 - Excel/Q&A.pdf -------------------------------------------------------------------------------- /examples/ItCFaFE/Assignment 1 - Excel/Solution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/ItCFaFE/Assignment 1 - Excel/Solution.py -------------------------------------------------------------------------------- /examples/ItCFaFE/Assignment 1/Q&A.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/ItCFaFE/Assignment 1/Q&A.pdf -------------------------------------------------------------------------------- /examples/ItCFaFE/Assignment 1/Solution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/ItCFaFE/Assignment 1/Solution.py -------------------------------------------------------------------------------- /examples/ItCFaFE/Assignment 2/Questions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/ItCFaFE/Assignment 2/Questions -------------------------------------------------------------------------------- /examples/ItCFaFE/Assignment 2/Solution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/ItCFaFE/Assignment 2/Solution.py -------------------------------------------------------------------------------- /examples/ItCFaFE/Assignment 3 - Computations/Questions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/ItCFaFE/Assignment 3 - Computations/Questions.pdf -------------------------------------------------------------------------------- /examples/ItCFaFE/Assignment 3 - Computations/Solution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/ItCFaFE/Assignment 3 - Computations/Solution.py -------------------------------------------------------------------------------- /examples/ItCFaFE/Assignment 4 - Matrix Algebra/Questions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/ItCFaFE/Assignment 4 - Matrix Algebra/Questions.pdf -------------------------------------------------------------------------------- /examples/ItCFaFE/Assignment 4 - Matrix Algebra/Solution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/ItCFaFE/Assignment 4 - Matrix Algebra/Solution.py -------------------------------------------------------------------------------- /examples/ItCFaFE/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/examples/ItCFaFE/README.md -------------------------------------------------------------------------------- /finance.sublime-project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/finance.sublime-project -------------------------------------------------------------------------------- /finance.sublime-workspace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/finance.sublime-workspace -------------------------------------------------------------------------------- /plots/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plots/errorfill.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/plots/errorfill.py -------------------------------------------------------------------------------- /sim/MarketSimulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/sim/MarketSimulator.py -------------------------------------------------------------------------------- /sim/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/sim/__init__.py -------------------------------------------------------------------------------- /test/AllTets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/AllTets.py -------------------------------------------------------------------------------- /test/FinanceTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/FinanceTest.py -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/__init__.py -------------------------------------------------------------------------------- /test/events/EventFinder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/events/EventFinder.py -------------------------------------------------------------------------------- /test/events/MultipleEvents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/events/MultipleEvents.py -------------------------------------------------------------------------------- /test/events/PastEvent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/events/PastEvent.py -------------------------------------------------------------------------------- /test/events/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/events/docs/MultipleEvents_1.ods: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/events/docs/MultipleEvents_1.ods -------------------------------------------------------------------------------- /test/events/docs/MultipleEvents_window_1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/events/docs/MultipleEvents_window_1.csv -------------------------------------------------------------------------------- /test/events/docs/PastEvent_1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/events/docs/PastEvent_1.csv -------------------------------------------------------------------------------- /test/events/docs/PastEvent_1.ods: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/events/docs/PastEvent_1.ods -------------------------------------------------------------------------------- /test/events/docs/PastEvent_window_1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/events/docs/PastEvent_window_1.csv -------------------------------------------------------------------------------- /test/events/docs/test1_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/events/docs/test1_1.png -------------------------------------------------------------------------------- /test/events/docs/test1_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/events/docs/test1_2.png -------------------------------------------------------------------------------- /test/sim/MarketSimulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/sim/MarketSimulator.py -------------------------------------------------------------------------------- /test/sim/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/sim/docs/Test_1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/sim/docs/Test_1.csv -------------------------------------------------------------------------------- /test/sim/docs/Test_1.ods: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/sim/docs/Test_1.ods -------------------------------------------------------------------------------- /test/sim/docs/orders_1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/sim/docs/orders_1.csv -------------------------------------------------------------------------------- /test/utils/CalculatorTypes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/utils/CalculatorTypes.py -------------------------------------------------------------------------------- /test/utils/CalculatorValues.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/utils/CalculatorValues.py -------------------------------------------------------------------------------- /test/utils/DataAccess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/utils/DataAccess.py -------------------------------------------------------------------------------- /test/utils/DateUtils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/utils/DateUtils.py -------------------------------------------------------------------------------- /test/utils/FileManager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/utils/FileManager.py -------------------------------------------------------------------------------- /test/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/utils/docs/Calculator_Assets.ods: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/utils/docs/Calculator_Assets.ods -------------------------------------------------------------------------------- /test/utils/docs/Calculator_Assets_1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/utils/docs/Calculator_Assets_1.csv -------------------------------------------------------------------------------- /test/utils/docs/Calculator_TVM.ods: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/utils/docs/Calculator_TVM.ods -------------------------------------------------------------------------------- /test/utils/docs/Calculator_TVM_1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/utils/docs/Calculator_TVM_1.csv -------------------------------------------------------------------------------- /test/utils/docs/Calculator_TVM_2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/utils/docs/Calculator_TVM_2.csv -------------------------------------------------------------------------------- /test/utils/docs/Calculator_TVM_3.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/test/utils/docs/Calculator_TVM_3.csv -------------------------------------------------------------------------------- /utils/Calculator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/utils/Calculator.py -------------------------------------------------------------------------------- /utils/DataAccess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/utils/DataAccess.py -------------------------------------------------------------------------------- /utils/DateUtils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/utils/DateUtils.py -------------------------------------------------------------------------------- /utils/FileManager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/utils/FileManager.py -------------------------------------------------------------------------------- /utils/ListUtils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/utils/ListUtils.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/utils/__init__.py -------------------------------------------------------------------------------- /utils/lists/NYSE_dates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/utils/lists/NYSE_dates.py -------------------------------------------------------------------------------- /utils/lists/NYSE_dates.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/utils/lists/NYSE_dates.txt -------------------------------------------------------------------------------- /utils/lists/SP500_2008.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/utils/lists/SP500_2008.py -------------------------------------------------------------------------------- /utils/lists/SP500_2008.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/utils/lists/SP500_2008.txt -------------------------------------------------------------------------------- /utils/lists/SP500_2012.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/utils/lists/SP500_2012.py -------------------------------------------------------------------------------- /utils/lists/SP500_2012.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfrg/PythonFinance/HEAD/utils/lists/SP500_2012.txt -------------------------------------------------------------------------------- /utils/lists/__init__.py: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------