Tsetmc

Latest version: v0.68.2

Safety actively analyzes 702072 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

0.49.0

-------
* BREAKING CHANGE: the output type of ``insturments.search`` function has changed from DataFrame to a list of dicts. Use ``old_search`` if you want to continue using the old format.
* BREAKING CHANGE: renamed the ``c_sec_val`` parameter of ``Instrument.related_companies`` to ``cs``.
* BREAKING CHANGE: The DataFrame result of ``Instrument.daily_closing_price()`` now has datetime index instead of ``dEven`` and ``hEven`` columns.
* BREAKING CHANGE: ``Instrument.codal()`` now returns a list of dicts instead of a DataFrame.
* Added new async property: ``Instrument.cs``
* Added new async function: ``general.market_overview()``
* Added new async method: ``Instrument.identity()``
* Added new async method: ``Instrument.price_adjustments()``
* Added new async method: ``Instrument.publisher()``
* Added new async method: ``Instrument.share_holders()``
* Added new async method: ``Instrument.share_holder_history()``
* Added new async method: ``Instrument.messages()``
* Added new async function: ``instruments.share_holder_companies()``
* Improved type annotations
* Deprecated the following methods which rely on the old tsetmc site and have new alternatives:

* ``Instrument.live_data``. See the docstring for alternatives.
* ``Instrument.page_data``. See the docstring for alternatives.
* ``Instrument.client_type_history_old``. Use ``Instrument.client_type_history`` instead.
* ``Instrument.identification``. Use ``Instrument.identity`` instead.
* ``Insturment.trade_history``. Use ``Instrument.daily_closing_price`` instead.
* ``Insturment.adjustments``. Use ``Instrument.price_adjustments`` instead.
* ``Insturment.introduction``. Use ``Instrument.publisher`` instead.
* ``Insturment.holders``. Use ``Instrument.share_holders`` instead.
* ``Insturment.holder``. Use ``Instrument.share_holder_history`` or ``share_holder_companies`` instead.
* ``Insturment.ombud_messages``. Use ``Instrument.messages`` instead.

* ``InstrumentOnDate.client_types`` is deprecated, use ``Instrument.client_type`` instead
* Updated dataset

0.48.2

-------
* Fixed an unneeded URL redirect in ``Instrument.price_history``
* Fixed URL mismatch warning during web requests.

0.48.0

-------
* BREAKING CHANGE: Renamed ``Instrument.client_type`` to ``client_type_history_old``. The old name is overwritten with a new method.
* Removed the broken ``Instrument.intraday()`` method. This method is not available in the new design of tsetmc.com. Use `Instrument.on_date` instead.
* Fixed ``market_watch_plus`` by allowing ``float64`` dtype on po and pd columns.
* Added the following methods to ``Instrument`` class:

* ``info()``
* ``trades()``
* ``codal()``
* ``daily_closing_price()``
* ``closing_price_info()``
* ``best_limits()``
* ``client_type()``
* ``etf()``
* ``related_companies()``

0.47.0

-------
* Added a quick fix for the new design of tsetmc.com by using `old.tsetmc.com` domain. Some modules are still failing in tests and should wait for the next released.
* Avoid unsigned data-types in returned values. This should help with some overflow bugs when user is not careful.
* Updated dataset

0.46.0

-------
* Increased default socket timeouts to 30s
* Fixed ``market_map_data`` (the result has changed due to tsetmc API changes)
* Updated dataset

0.45.1

-------
* Fixed some deprecation warning during update
* Updated dataset

Page 5 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.