Skip to main content

metafid

این پکیج برای پوششِ بخشی از داده‌های موردِ نیاز در تصمیم‌هایِ مالی-اقتصادی توسعه داده شده است

install

mac , linux

python3 -m pip install metafid-data

windows

python -m pip install metafid-data

data

ise (Iran Stock Exchange)

TSETMC (tsetmc.com)

from mf_data.ise import TSETMC
tsetmc = TSETMC()
# ------------- market watch -------------
stock_mw = tsetmc.market_watch(stock=True) #stoock
ifb_paye_mw = tsetmc.market_watch(ifb_paye=True) # پایه‌یٍ فرابورس
mortgage_mw = tsetmc.market_watch(mortgage=True) # اوراقٍ مسکن
# cum_right, bond, option, futures, etf, commodity دیگر پارامترها شامل اینها است که می‌توان با-هم هم افزوده شوند 
m_mw = tsetmc.market_watch(stock=True, cum_right=True,etf=True )
# ------------- option market watch -------------
tsetmc.option_market_watch()
# ------------- instrument info -------------
tsetmc.stock_info()
tsetmc.option_info()
tsetmc.etf_info()
# ------------- history price -------------
tsetmc.hist_price(symbol_far= "شبندر") 
# اگر میخواهید بر اساس کد نماد داده دریافت کنید
tsetmc.hist_price(ins_code= "35366681030756042") 
# ------------- adjust history price -------------
tsetmc.adj_hist_price(symbol_far= "شبندر") 
# اگر میخواهید بر اساس کد نماد داده دریافت کنید
tsetmc.adj_hist_price(ins_code= "35366681030756042") 

Codal(codal.ir)

beta version!
from mf_data.ise import Codal
codal = Codal()
codal.symbol = "شبندر"

# ------------- income-statements -------------
income_statements = codal.income_statements() # صورتِ سود یا زیان
balance_sheet = codal.balance_sheet() # صورت-وضعیتِ مالی

Rahavard

from mf_data.ise import Rahavard
rah = Rahavard()
# ------------- balance-sheet -------------
rah.balance_sheet("شبندر")

econ

TGJU (tgju.org)

from mf_data.econ import TGJU
tgju = TGJU()
# ------------- sekke -------------
sekke_emami = tgju.sekke_emami() # امامی
nim_sekke = tgju.nim_sekke() # نیم
rob_sekke = tgju.rob_sekke() # رُبع
ons = tgju.ons() # xauusd (اُنس جهانی)
# ------------- currency -------------
usd_irr = tgju.usd_irr()

ICB (Iran Central Bank)

Release files for metafid-data 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for metafid-data 0.2.2
File Interpreter ABI Platform
metafid_data-0.2.2-py3-none-any.whl Python 3 none any Details

Release files / metafid_data-0.2.2-py3-none-any.whl

Download URL metafid_data-0.2.2-py3-none-any.whl
Size 20.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73aed728b0e07340cd62c60d19a04c028885095e6f9ab23ce2cfa5388ff26161
BLAKE2b-256 checksum
How to use checksums
b91f915484c96eb493c64f727291aa1444f803c934b379ab807a5d1e3d4c0329
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.2 Darwin/22.5.0

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page