dtse: A Fast and Async API Client for TSE
This is a python package that helps to access stock data from the Tehran Stock Exchange without any HTML parsing.
Usage:
1- Command line:
dtse update ["ذوب"]
dtse update ["همراه", "ذوب", "فولاد", "شیراز", "وخارزم"]
dtse update ["شاخص کل6"]
dtse reset2- python:
import dtse
# dtse.get_tse_prices(symbols: list[str], **kwconf)
dtse.get_tse_prices(
symbols=["همراه"],
adjust_prices=2,
cache_to_db=False,
write_csv=False
)On this page
Languages
Python97.9%Dockerfile2.1%
Contributors
MIT License
Created February 19, 2022
Updated June 10, 2024