Giter Site home page Giter Site logo

taq_2's Introduction

TAQ Project

Team members:
Sihan Qi sq543
Sihan Liu sl6964
Ruihan Zhuang rz1391

PDF

The PDF file for the answers to the questions are in TAQ2.pdf

Dependency

Python version: 3.10 Pandas, numpy, matplotlib, gzip, statistics, scipy, ast, statsmodels, unittest, _struct, _collections, glob

Usage

All implementation files are in the HW2_calculations folder.

HW2_calculations:
-- Find_largest.py: Find the largest 200 stocks in s&p500, filter out the Nan values and save to No_nan_dates_and_largest_200_tickers_in_20070619-20070921.csv The test of this file is in Test_Find_largest
-- Reading_loop.py: Implement the reading loop. Output file will be in the output folder.
-- Regression.py: perform regression on the stock data, and use bootstrap to find the p_value. The tests for both the regress function and the bootstrap function are in Test_Regression.py
-- Regression_half.py: split the data into two halfs (larger stocks, smaller stocks) and compare the result of regression. The result is in the pdf.
-- Residual_analysis.py: perform residual analysis for the residuals of regression. The results are in pdf.

All unit test files are in unit_test_2 folder. The unit_test folder.

Change MyDirectories.py in src folder first, then run corresponding unit test file to run the project.

taq_2's People

Contributors

lulu643 avatar ruzhuang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.