Skip to main content

Gets the underlying asset ticker and the option type (either call or put) to fetch live option data.

Project description

Live TSE Options Data Fetcher

Description

This Python package retrieves live data for options traded on Tehran Stock Exchange and Iran Farabourse Exchange based on the underlying asset's ticker and option type. It supports tickers such as "خودرو" and option types including "call" and "put".

If ticker is set to "all", then it gives the whole market watch for all of the underlying assets.

Features

  • Fetch live option data for specified tickers or the whole market.
  • Support for multiple option types: "call" and "put".
  • Easy integration with your existing applications.

Installation

You can install the package via pip:

pip install tse_derivatives

Examples

Live options data for a specific underlying asset:

from tse_derivatives import tse_options

ticker = "خودرو" # or "اهرم" ...
type = "call"  # or "put"
data = tse_options(ticker, type)
print(data)

Live options data for all underlying assets:

from tse_derivatives import tse_options

ticker = "all"
type = "call"  # or "put"
data = tse_options(ticker, type)
print(data)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tse_derivatives-0.1.4.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tse_derivatives-0.1.4-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file tse_derivatives-0.1.4.tar.gz.

File metadata

  • Download URL: tse_derivatives-0.1.4.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for tse_derivatives-0.1.4.tar.gz
Algorithm Hash digest
SHA256 f0ca09d70ab0dc1c5def0b09820a3fdc3f0dc432415ddf8deeac05a142a47f61
MD5 d8aff90c9b76bf5419bd9be9af52a163
BLAKE2b-256 95057b5b47e798659682af170d4863d34225e1b662c4a40f1511b45adf4ea53a

See more details on using hashes here.

File details

Details for the file tse_derivatives-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for tse_derivatives-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 41d37c1c6c933410efe0f62b124d3d07a31a0058c4160646ec8104b9b30c4d0c
MD5 eddfae2e2762c8d3801de3f81eeaf238
BLAKE2b-256 1df2d862fa5467d38da46c1c1f60ffd07e3402b8e420f414943b34ebfbf332a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page