Skip to content

Conversation

@Vincannes
Copy link
Collaborator

No description provided.

Copy link
Owner

@AlexLaur AlexLaur left a 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()
Copy link
Owner

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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused

self.get_articles(ticker)

@QtCore.Slot(str)
def get_articles(self, ticker):
Copy link
Owner

@AlexLaur AlexLaur Mar 20, 2021

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)

from libs.widgets.textbrowser import Description


class Ui_Form(object):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename your UI class

from libs.favorites_widget import FavoritesWidget
from libs.articles_widget import ArticlesWidget
from libs.widgets.label import LabelTitle
from libs.financial_widgets import TableFinance
Copy link
Owner

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
Copy link
Owner

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):
"""
Copy link
Owner

@AlexLaur AlexLaur Mar 20, 2021

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

Vincannes and others added 27 commits March 21, 2021 16:49
… 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants