Skip to content

Shisong-Hsiao/China-A-Sort

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download Data

  1. Value-Weighted Sorted Portfolios

  2. Equal-Weighted Sorted Portfolios

Logics

  1. Calculate the China A-Share characteristics and returns

  2. Use this repo to calculate sorted portfolios returns and long-short factors

  3. Results are in folders, where include bivariate sorted returns, univariate sorted returns, and univariate sorted factors.

    • data/output/sorted_portfolio_vw
    • data/output/sorted_portfolio_ew

Execution

$ cd code
$ sh run.sh

notes:

- Assume linux user.
- Go to the folder `code` and then run the commanda `sh run.sh`

Caveate

This repo provides code for your reference, which is only for academic purposes and is not for commercial use. This repo does not disclose any confidential data or proprietary data. Specifically, this repo does not share the source data or intermediary data. Researcher can use open-source web crawler, or commercial data vendor, e.g. CSMAR, Wind, WRDS, for the input data.

Contact

The contributers are open to any academic discussion and collaboration.

Xin He

[email protected]

https://www.xinhesean.com

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.0%
  • Shell 1.0%