-
Notifications
You must be signed in to change notification settings - Fork 2
Vinc #6
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
base: master
Are you sure you want to change the base?
Conversation
AlexLaur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Correct mistakes
- Try to black your code (it is very important)
| class AnalyseFondamental(object): | ||
| def __init__(self, ticker): | ||
|
|
||
| self.thread_pool = ThreadPool() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused variable
| from utils import utils as utl | ||
| from libs.yahoo_fin import stock_info as sf | ||
| from .analyse import AnalyseData | ||
| from libs.thread_pool import ThreadPool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused
app/libs/articles_widget.py
Outdated
| self.get_articles(ticker) | ||
|
|
||
| @QtCore.Slot(str) | ||
| def get_articles(self, ticker): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try to keep a homogeneity. All method signals are like this: _on_event().
This will be better :
@Qtcore.Slot(str)
def _on_(specific event):
get_articles(ticker)
app/ui/article.py
Outdated
| from libs.widgets.textbrowser import Description | ||
|
|
||
|
|
||
| class Ui_Form(object): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename your UI class
app/ui/main_window.py
Outdated
| from libs.favorites_widget import FavoritesWidget | ||
| from libs.articles_widget import ArticlesWidget | ||
| from libs.widgets.label import LabelTitle | ||
| from libs.financial_widgets import TableFinance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove s? widget instead of widgets ?
app/ui/run.py
Outdated
| @@ -0,0 +1,6 @@ | |||
| import subprocess | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this file, it already exists __convert.py
|
|
||
|
|
||
| def remove_nan(data): | ||
| """ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our tool is on github, try to make an english docstring
… vinc_ � Conflicts: � app/add_ons/indicators/macd.py � app/resources/style/style.qss � app/ui/main_window.py � app/utils/utils.py
# Conflicts: # app/libs/graph/graphwidget.py # app/view.py
No description provided.