Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
d1e34e5
Update README.md
Peyman2012 Jun 9, 2024
1332bf8
Add files via upload
Peyman2012 Jun 9, 2024
15571af
Delete tsemodule5.py
Peyman2012 Jun 9, 2024
51d2b33
Update README.md
Peyman2012 Jun 9, 2024
cd1c5ad
Update README.md
Peyman2012 Jun 9, 2024
97577d0
Update README.md
Peyman2012 Jun 9, 2024
a8f7195
Update README.md
Peyman2012 Jun 9, 2024
65be99b
Update README.md
Peyman2012 Jun 9, 2024
d44084f
Update README.md
Peyman2012 Jun 9, 2024
4a5a723
Delete tsemodule5.5.pdf
Peyman2012 Jun 9, 2024
b65d5a5
Delete tsemodule5.pdf
Peyman2012 Jun 9, 2024
1e5f9fb
Delete sstupe.py
Peyman2012 Jun 9, 2024
7bf2bb2
Add files via upload
Peyman2012 Jun 9, 2024
e64c4d1
Delete tsemodels7.py
Peyman2012 Jun 9, 2024
a59f481
Add files via upload
Peyman2012 Jun 9, 2024
4695cf2
Update README.md
Peyman2012 Jun 9, 2024
6284904
Update README.md
Peyman2012 Jun 9, 2024
e3c6316
Update README.md
Peyman2012 Jun 9, 2024
3439780
Update README.md
Peyman2012 Jun 9, 2024
79dd440
Update README.md
Peyman2012 Jun 9, 2024
3bcbd43
Update README.md
Peyman2012 Jun 9, 2024
c2929d8
Add files via upload
Peyman2012 Jun 9, 2024
d8ce331
Update README.md
Peyman2012 Jun 9, 2024
9bf0319
Update README.md
Peyman2012 Jun 10, 2024
e032d8f
Update README.md
Peyman2012 Jun 10, 2024
ba2b004
Delete tsemodule7.py
Peyman2012 Jun 10, 2024
75ea296
Add files via upload
Peyman2012 Jun 10, 2024
734f01c
Update README.md
Peyman2012 Jun 10, 2024
a346f64
Update README.md
Peyman2012 Jun 10, 2024
0236df7
Update README.md
Peyman2012 Jun 10, 2024
32191cd
Update README.md
Peyman2012 Jun 10, 2024
7c6d307
Update README.md
Peyman2012 Jun 10, 2024
c8a872d
Update README.md
Peyman2012 Jun 10, 2024
fe7bb1a
Update README.md
Peyman2012 Jun 10, 2024
c9873dd
Delete tsemodule7.py
Peyman2012 Jun 15, 2024
e0765b9
Add files via upload
Peyman2012 Jun 15, 2024
d4e291a
Delete tsemodule7.py
Peyman2012 Jun 16, 2024
97f70aa
Add files via upload
Peyman2012 Jun 16, 2024
2f743c3
Update README.md
Peyman2012 Jun 16, 2024
dde66d4
Update README.md
Peyman2012 Jun 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 76 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,76 @@
### tsemodule5
#### code by t.me/python4finance
#### you can contact me via @sadiqkarimi in Telegram application
By this module you can receive Iran stock infromation in python.
The source of data is TseTmc.ir
Full manual is presented id PDF file.
# tsemodel7

![image](https://github.com/Peyman2012/tsemodule7/assets/88220773/cf3d963a-219b-46bc-b096-df52af9877c1)


A library for managing stock and index data from TSETMC.

## Project folder structure:

tsemodel7/
├── tsemodule7.py
|
└── README.md



## StockManager Class

The StockManager class allows you to easily manage, download, process, and extract information about various stocks. This class can be easily used in different projects and more functionality can be added to it by adding new features and methods.

### Example:

from tsemodel7 import StockManager, IndexManager

stock_manager = StockManager()
index_manager = IndexManager()

# Example calls
print(stock_manager.stocklist())
print(stock_manager.stock("آپ", value=10, standard=True))
print(index_manager.index(value=10))

### Output FROM StockManager Class:
![image](https://github.com/Peyman2012/tsemodule7/assets/88220773/924892d8-1eb5-477a-a0bc-9ef9bcf8de62)

## IndexManager Class

The IndexManager class allows you to easily manage data related to various stock market indices, download them, process them and extract the information you want. This class can be easily used in different projects and more functionality can be added by adding new features and methods.


### Output FROM IndexManager Class:
![image](https://github.com/Peyman2012/tsemodule7/assets/88220773/389a83bd-0ff5-463a-b082-b3dba183b430)

## HighPriceManager Class
This class uses an online source to download stock data and then processes and analyzes the data to find the stock's highest closing price.

Using newfile and standard parameters allows you to have more control over the process of downloading and processing data.
The get_highest_close_price_today method examines only the data from the previous day and displays them in sorted order.
### Example:

high_price_manager = HighPriceManager()

# Example calls
highest_close_prices_df = high_price_manager.get_highest_close_price_today(standard=True)
print(highest_close_prices_df)

### Output FROM HighPriceManager Class:
![image](https://github.com/Peyman2012/tsemodule7/assets/88220773/3472a97e-5bf6-4259-aa0b-b9fda93eb11f)

### Link library in my Kaggle:

https://www.kaggle.com/code/peimandaii/tsemodule7#Extended-version-of-the-library

https://www.kaggle.com/models/peimandaii/tsemodules










Binary file removed tsemodule5.5.pdf
Binary file not shown.
Binary file removed tsemodule5.pdf
Binary file not shown.
Loading