Securities Investment Analysis Tools (siat)
Project description
*** What is siat? siat is a Python plug-in, which stands for security investment analysis toolkit. It is specially designed for teaching and learning purposes on security investment in universities for undergraduate and postgraduate programs.
*** What sort of securities does siat support?
- Public company profile: world-wide
- Stock & stock market index: world-wide
- Stock valuation: primarily in China (mainland and HK) and the U.S.
- Stock option chain: primarily in the U.S.
- Bond: primarily in China and the U.S.
- Markowitz portfolio: with all the supported stocks and bonds
- Fund: primarily in China and the U.S.
- Futures: primarily in China and the U.S.
- Options: primarily in China and the U.S.
- Digital currency: world-wide (some may be restricted by data sources)
- Balance sheet: in China (full function) and world-wide (basic function)
- Income statement: in China mainland (full function) and world-wide (basic function)
- Cash flow statement: in China mainland (full function) and world-wide (basic function)
- Du Pont Identity: world-wide
- Sector trend and valuation: primarily in China
*** What sort of analysis does siat support?
- Trend analysis
- Panel comparation
- Return analysis: rolling returns, holding period returns
- Risk analysis: rolling volatility, holding period volatility, LPSD
- Technical analysis: more than 15 indicators
- Risk-adjusted return: sharpe, sortino, treynor, Jensen alpha
- Portfolio optimization: four risk-adjusted returns
- CAPM beta trend
- Beta adjustments: simple adjustment, Scholes-Williams, Dimson
- Beta leverage: Hamada Model
- Fama-French three-factor model
- Fama-French-Carhart four-factor model
- Fama-French five-factor model
- Future pricing
- Option pricing: European style, American style, with/without dividends
- VaR & ES: variance-covariance, historic simulation, Monte Carlo, multiple periods
- Liquidity risk: Roll spread, Amihud, Pastor-Stambaugh
- ESG: basic function
*** Do I have to download data first before using siat? NO! siat will search the internet data sources for all the required data during analysis. The main data sources siat uses:
- Yahoo Finance
- Sina Finance
- East Money
- Stooq (Polish)
- FRED
- OECD
- IMF
- Shanghai Stock Exchange
- Shenzhen Stock Exchange
- Tokyo Stock Exchange
- HKEX
- Sustainalytics Thanks the above websites for their valuable data supply!
*** How is siat version numbered? siat version format: X.Y.Z X is the major version number. If the major number X changes, it means a primary upgrade, usually there are some big changes in the architecure. However, user's habits will remain for most of the cases.
Y is the revision number. If the revision number Y changes, it usually indicates some new functions have been compiled into the package.
Z is the build number. A build number Z change usually reveals a new compilation over the package for the purpose of debug only.
*** When to upgrade siat? If you have been using the existing copy very well, there is no need to follow up the newest version. However, if you do find some bugs in using siat, most of the time it is a quick solution to upgrade siat as well as the dependent modules that siat relies on.
*** How to upgrade siat? It is strongly recommended to use siat in Jupyter Notebook or Jupyter Lab. In Jupyter, there is an easy way to directly upgrade siat and its relevent modules together in the following command: upgrade_siat()
If Jupyter prompts that pip command not found during the upgrade, it usually means that you need tick the checkbox "Add Python to your path" or something like this during Anaconda installation. If you forget to tick the checkbox, you may need to remedy the situation case by case. In some of the situations, the following command may work in Anaconda Prompt, but not for all the cases: python -m ensurepip
*** Are there detailed case studies on using siat? YES, hundreds of video case studies in the author's channel (most in Chinese, some in English). https://space.bilibili.com/284812153 Welcome to follow the channel!
*** How to report a bug and look for help? Write to the author, Prof. WANG Dehong, wdehong2000@163.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.