A crawler for structured product information from TDCC (Taiwan).
Project description
Taiwan Structured Product Information Crawler
This is a repository that offers a StructuredProductCrawler class to crawl Taiwan TDCC website for the product information.
Tutorial
from tdcc import StructuredProductCrawler
crawler = StructuredProductCrawler()
all_products = crawler.crawl()
crawl() returns a Pandas DataFrame.
Data columns include:
| Column Name | Are |
|---|---|
| URL | the product's partial url |
| UID | product id |
| NAME | product name |
| CURRENCY | product denomination |
| MATURITY | maturity date |
| UNDERLYING | underlying asset type |
| PRINCIPAL_PROTECTION | % of principal protection |
| PI | professional investor |
| ISSUE_DATE | issue date |
| ISSUER | issuer |
| MASTER_AGENT | master agent |
| DISTRIBUTOR | distributor |
Installation
To install this verson from PyPI, type:
pip install tdcc
To get the newest one from this repo (note that we are in the alpha stage, so there may be frequent updates), type:
pip install git+git://github.com/jn8029/tdcc.git
To-do
TBC
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.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tdcc-0.0.2.tar.gz.
File metadata
- Download URL: tdcc-0.0.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a1efc526a411d2455dffa21900d1edcb87c9bd53180e2c014955abd0542532a
|
|
| MD5 |
6320664e00f104ffeeca8e692227f90e
|
|
| BLAKE2b-256 |
0b2145a349a1731589f8e7a54188c3e10c595aadcd2214b561be45b010d28dde
|
File details
Details for the file tdcc-0.0.2-py3-none-any.whl.
File metadata
- Download URL: tdcc-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77c5dbac3eb2ae07d5e365dfcf39b5e338d3dd8aba1717d19253a672ad51ec8a
|
|
| MD5 |
342d69b0224003a6d0595a46b7d2fe7f
|
|
| BLAKE2b-256 |
eaff17eadb57ab6722ac85f6e656927b14f1b5dac04b871e856e141f7a5e7598
|