Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3 #97

Draft
wants to merge 28 commits into
base: master
Choose a base branch
from
Draft

V3 #97

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e34d4c0
refactor: change folder structure
ghodsizadeh Oct 20, 2023
25608bb
feat: add industry groups
ghodsizadeh Oct 20, 2023
cc51275
feat: add stock enums
ghodsizadeh Oct 20, 2023
de97c4a
refactor: add ruff and run it once
ghodsizadeh Oct 20, 2023
ef22ca5
feat: add pydantic
ghodsizadeh Oct 21, 2023
f96bf57
feat: add get stock detail helper
ghodsizadeh Oct 21, 2023
3cf1fa7
feat: add get client type and instrument state
ghodsizadeh Oct 21, 2023
26229fc
feat: async price download
ghodsizadeh Oct 21, 2023
55d6a2d
feat: add trade list
ghodsizadeh Oct 22, 2023
576b66b
feat: add download trade and closing price
ghodsizadeh Oct 22, 2023
36b4968
feat: add best limits
ghodsizadeh Oct 23, 2023
545313b
refactor: add documents rename detail api
ghodsizadeh Oct 23, 2023
eb65986
fix: best limit history
ghodsizadeh Oct 24, 2023
07db0d6
feat: add market without test
ghodsizadeh Oct 24, 2023
188eb59
feat: update get price
ghodsizadeh Oct 28, 2023
962c085
feat: add index downloader
ghodsizadeh Nov 3, 2023
d8b4bda
fix: few tests
ghodsizadeh Nov 3, 2023
970995e
refactor: rename instrument
ghodsizadeh Nov 6, 2023
e0adab0
refactor: add mypy
ghodsizadeh Nov 6, 2023
99691da
feat: add shareholder and update instrument model
ghodsizadeh Nov 6, 2023
abab2ef
refactor: add price history model
ghodsizadeh Nov 18, 2023
4fc70fb
fix: database creation and update dependencies
ghodsizadeh Nov 18, 2023
7d4653d
refactor: lifecycle
ghodsizadeh Nov 19, 2023
7139ead
feat: update names downloader , add instrumentType Enum
ghodsizadeh Nov 26, 2023
12fc636
Update instrument types in data module
ghodsizadeh Nov 26, 2023
4615137
feat: improve init flow
ghodsizadeh Nov 26, 2023
43b49d1
feat: add pytest-cov and update test_data.py
ghodsizadeh Nov 27, 2023
6fdf6b3
feat: add get all price
ghodsizadeh Nov 27, 2023
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,5 @@ dmypy.json
conda/
node_modules
src/pxy.py
urls.txt
data.csv
24 changes: 24 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.1
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.1
hooks:
- id: ruff-format

- repo: local
hooks:
- id: pr-mypy
name: mypy
entry: poetry run mypy
language: python
types: [python]
args: ["--ignore-missing-imports", "--scripts-are-modules"]
require_serial: true

237 changes: 0 additions & 237 deletions Pipfile.lock

This file was deleted.

2 changes: 2 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[mypy]
exclude = tests
Loading