Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.
/ fmd Public archive

Download Taiwan financial market data via FMD API.

License

Notifications You must be signed in to change notification settings

ycytai/fmd

Repository files navigation

fmd


⚠️ NOTICE:

FMD API will stop service after March 14, 2025. Additionally, this repository will be archived and no longer maintained after March 14, 2025. Thanks for your support.


fmd is a python wrapper that provides users with an easy-to-use interface to access data from Financial Market Data (FMD) API, specializing in Taiwan's financial market.

Source Code: https://github.com/ycytai/fmd

Documentation: https://fmd.ycytai.com/

Features

  • 😄 User-friendly: Intuitive interface for easy adoption by all skill levels.
  • 📈 Diverse data: Popular financial data including prices, dividends, and more.
  • 📦 All JSON: Streamlined data format for effortless integration and analysis.

Installation

Just use pip

pip install fmd

Quick Start

Retrieve data with various predefined resources.

from fmd import FmdApi

fa = FmdApi()
stock = fa.stock.get(symbol='2330')
data = stock.get_price()

More examples

Access various resources

from fmd import FmdApi

fa = FmdApi()

stock = fa.stock.get(symbol='2330')

etf = fa.etf.get(symbol='0050')

index = fa.index.get(symbol='LI0001')

currency = fa.forex.get(currency='TWD')

Feedback and Bugs Report

Feel free to raise a issue once you encounter an unknown situation. We cherish your feedback. Cheers.