Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
16 changes: 0 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@ jobs:
matrix:
python-version: ['3.11', '3.10', '3.9']

# Service containers to run with `container-job`
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres:10
# Provide the password for postgres
ports:
- 5432:5432
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: finance_test
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -44,7 +31,4 @@ jobs:
run: |
pytest -v tests --cov finance --cov-report term-missing
env:
SBF_DB_URL: "postgresql://postgres:postgres@localhost/finance"
SBF_TEST_DB_URL: "postgresql://postgres:postgres@localhost/finance_test"
SBF_TESTING: true
PYTHONPATH: .
27 changes: 0 additions & 27 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@ NOTE: 제가 주로 사용하는 에디터인 vim 에서 한글 타이핑이 불
- 주식: `야후 파이낸스 <http://finance.yahoo.com>`_\ 에서 받아옵니다. 20분
지연된 정보이긴 하지만, 일 단위 가격을 받아오는 것이기 때문에 지연 시간은
중요하지 않습니다.
- 펀드: 금융투자협회(KOFIA)에 공시된 정보를 받아옵니다.

- `수익률 계산 <https://github.com/suminb/finance/wiki/%EC%88%98%EC%9D%B5%EB%A5%A0-%EA%B3%84%EC%82%B0>`_
- `전자공시데이터(DART) 가져오기 <https://github.com/suminb/finance/issues/1>`_

앞으로 할 일, 하지 않을 일
--------------------------
Expand Down Expand Up @@ -123,31 +121,6 @@ Fetch Company Profiles From Naver Finance
>>> profile.bps
4290

Fetch Financial Statements From DART (전자공시)
***********************************************

.. code::

from finance.ext.dart import FinancialStatementRequest

fs = FinancialStatementRequest()
statements = fs.fetch(
"00788773", 2020, "11012", "OFS",
categorization_level1_key="fs_name",
categorization_level2_key="account_name")

statements["포괄손익계산서"]["당기순이익"].amount

balance_sheet = statements["재무상태표"]
debt_ratio = balance_sheet["부채총계"].amount / balance_sheet["자본총계"].amount

.. code::

from finance.ext.dart import get_listed_corporations, search_corporations

get_listed_corporations()
search_corporations("NAVER")

Some Technical Details
----------------------

Expand Down
74 changes: 0 additions & 74 deletions alembic.ini

This file was deleted.

1 change: 0 additions & 1 deletion alembic/README

This file was deleted.

78 changes: 0 additions & 78 deletions alembic/env.py

This file was deleted.

24 changes: 0 additions & 24 deletions alembic/script.py.mako

This file was deleted.

29 changes: 0 additions & 29 deletions alembic/versions/1bac2db8d359_add_source_field_to_assetvalue.py

This file was deleted.

22 changes: 0 additions & 22 deletions alembic/versions/3127ef2df8ce_make_asset_code_unique.py

This file was deleted.

Loading