Skip to content

Commit

Permalink
renaming unit strategy api to momentum strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
Akashdesarda committed Mar 5, 2021
1 parent 29d5ed3 commit a894608
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import streamlit as st
from stock_analysis.indicator import Indicator
from stock_analysis.utils.logger import logger
from stock_analysis.unit_strategy import MomentumStrategy
from stock_analysis.momentum_strategy import MomentumStrategy

def newest_file(path: str)-> str:
file_list = glob.glob(path)
Expand Down
2 changes: 1 addition & 1 deletion stock_analysis/indicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Indicator:
as 'path' preside over 'company_name', by default None
Eg:
>>>from stock_analysis.unit_strategy import MomentumStrategy
>>>from stock_analysis.momentum_strategy import MomentumStrategy
>>>sa = MomentumStrategy('./data/company_list.yaml')
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class MomentumStrategy:
as 'path' preside over 'company_name', by default None
Eg:
>>>from stock_analysis.unit_strategy import MomentumStrategy
>>>from stock_analysis.momentum_strategy import MomentumStrategy
>>>sa = MomentumStrategy('./data/company_list.yaml')
"""
path: str = None
Expand Down
2 changes: 1 addition & 1 deletion stock_analysis_cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import warnings
from stock_analysis.unit_strategy import MomentumStrategy
from stock_analysis.momentum_strategy import MomentumStrategy
from stock_analysis.indicator import Indicator
from stock_analysis.utils.logger import logger

Expand Down
2 changes: 1 addition & 1 deletion tests/test_unit_strategy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from stock_analysis.unit_strategy import MomentumStrategy
from stock_analysis.momentum_strategy import MomentumStrategy

company_list = ['ADANIGREEN','HDFCAMC','WHIRLPOOL','BAJAJ','ABB','INDIAMART','CENTRALBK','CENTURYPLY']

Expand Down

0 comments on commit a894608

Please sign in to comment.