Skip to main content

No project description provided

Project description

metafid

oxtapus

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

install

mac , linux

python3 -m pip install oxtapus

windows

python -m pip install oxtapus

data

ise (Iran Stock Exchange)

TSETMC (tsetmc.com)

from oxtapus.ise import TSETMC
tsetmc = TSETMC()

# ------------- market watch -------------
tsetmc.market_watch(stock=True) #stoock
tsetmc.market_watch(ifb_paye=True) # پایه‌یٍ فرابورس
tsetmc.market_watch(mortgage=True) # اوراقٍ مسکن
# cum_right, bond, option, futures, etf, commodity دیگر پارامترها شامل اینها است که می‌توان با-هم هم افزوده شوند 
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") 

# ------------- share change -------------
tsetmc.share_change(symbol_far= "شبندر") 
# اگر میخواهید بر اساس کد نماد داده دریافت کنید
tsetmc.share_change(ins_code= "35366681030756042") 

# ------------- index  -------------
tsetmc.all_index() # همه‌یِ شاخص‌ها-شاملِ نام، کد، و مقدار
tsetmc.index_ticker_symbols(index_code=13235969998952202) # نمادهایی که شاخصِ *** دنبال می‌کند
tsetmc.index_hist(index_code=13235969998952202)

# ------------- intraday trade -------------
tsetmc.intraday_trades(symbol_far= "شبندر") 
# اگر میخواهید بر اساس کد نماد داده دریافت کنید
tsetmc.intraday_trades(ins_code= "35366681030756042") 

# برای دریافتِ معاملاتِ درو-روزی بر اساسِ تایم-فریم
# T به معنایِ دقیقه
# S به معنای ثانیه.
tsetmc.intraday_trades_base_timeframe(symbol_far= "شبندر", timeframe="5T") 
# اگر میخواهید بر اساس کد نماد داده دریافت کنید
tsetmc.intraday_trades_base_timeframe(ins_code= "35366681030756042",timeframe= "5T") 

# ------------- last ins info -------------
# آخرین اطلاعات مربوط به قیمت و حجم و ارزش معامله‌هایِ نماد بر رویِ تابلو
tsetmc.last_ins_info(symbol_far= "شبندر") 
# اگر میخواهید بر اساس کد نماد داده دریافت کنید
tsetmc.last_ins_info(ins_code= "35366681030756042") 

Codal(codal.ir)

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

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

Rahavard

from oxtapus.ise import Rahavard
rah = Rahavard()

# ------------- balance-sheet -------------
rah.balance_sheet("شبندر")

econ

TGJU (tgju.org)

from oxtapus.econ import TGJU
tgju = TGJU()

# ------------- sekke -------------
tgju.sekke_emami() # امامی
tgju.nim_sekke() # نیم
tgju.rob_sekke() # رُبع
tgju.ons() # xauusd (اُنس جهانی)

# ------------- currency -------------
tgju.usd_irr()

ICB (Iran Central Bank)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

oxtapus-0.2.4-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

Details for the file oxtapus-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: oxtapus-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 26.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/22.5.0

File hashes

Hashes for oxtapus-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a29b5119bdf545a46288cf35d5fb8ed67d8cd3157eadf4bd9502db540aef9a0b
MD5 1e16074c0ba6b834a133bf7ad80965d7
BLAKE2b-256 3eccfef7489c2b19b5e67a9e5d60e4af88b91a85b6e92cfa12c3cfe618d63956

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