Git Product home page Git Product logo

WebClinic's Projects

bunnybook icon bunnybook

A tiny social network (for bunnies), built with FastAPI and React+RxJs

bunnyredis icon bunnyredis

Distributed Redis with storage and consistency kafka

bus-pe icon bus-pe

A Seamless Digital Payment Experience For City Busses

buy-sell icon buy-sell

편하고 안전한 중고거래를 위한 프로젝트

bwb icon bwb

The fundamental package for backtesting of stock trading with Python.

cachefs icon cachefs

A key-value disk store for caching huge amount of data especially small files no more than 1M. It's written in python using bjoern and can be easily scaled by nginx.

cad_factor_regression_analysis icon cad_factor_regression_analysis

A limitation of the factor regression available on portfoliovisualizer.com is that it does not take FX into account. To address this, I have developed a python module that considers the CAD:USD data when performing a regression analysis on securities listed on the Toronto Stock Exchange (TSX). For Canadian Equities listed on the TSX run CDN_listed_CDN_Equity.py. For US Equities listed on the TSX run CDN_listed_US_Equity.py. US equities are analyzed using the Fama-French 5 factor model using the daily data. Canadian equities are analyzed using AQR data for MKT-RF, SMB, HML(FF), QMJ, and UMD (FF data not available for Canada). For comparative purposes, the file US_listed_US_Equity replicates the results from portfoliovisualizer.com for US listed US Equities analyzed using the FF 5-factor model with daily data. X, Custom_start_date, and Custom_end_date can be modified as required by the user. If the user does not wish to enter a custom start or end date, a value of zero will use the longest dataset possible. Prior to running the scripts, the following lines of code must be executed if their respective packages have yet to be installed: pip install pandas pip install numpy pip install DateTime pip install statsmodels pip install urllib3 pip install zipfile37 pip install investpy pip install yfinance Prior to running the CDN_listed_CDN_Equity.py script for the first time, run importAQR_QMJ.py to download the AQR dataset onto the local hard drive. Once the dataset is downloaded, the importAQR_QMJ.py script is not required to be executed unless updated data is required.

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.