-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added formatting rules with black and isort updating modules imports (#…
…156) * Updated changelog * added black and isort dependencies * Formatted code * fixed imports * renamed submodule lowercase * Changed imports to not include class file name and resolved dependency loop * Updated docs autodoc imports * Corrected documentation
- Loading branch information
1 parent
33832e9
commit 7085c70
Showing
54 changed files
with
490 additions
and
407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,126 +1,147 @@ | ||
Modules | ||
======= | ||
####### | ||
|
||
Each section of this document provides the source code documentation of each | ||
component of TradingMate. | ||
|
||
|
||
TradingMate | ||
----------- | ||
=========== | ||
|
||
.. automodule:: TradingMate | ||
.. automodule:: tradingmate | ||
|
||
.. autoclass:: TradingMate | ||
:members: | ||
|
||
Model | ||
----- | ||
===== | ||
|
||
The ``Model`` module contains the business logic and the data management of | ||
The ``model`` module contains the business logic and the data management of | ||
TradingMate. | ||
|
||
.. automodule:: tradingmate.model | ||
|
||
Holding | ||
^^^^^^^ | ||
|
||
.. automodule:: Model.Holding | ||
------- | ||
|
||
.. autoclass:: Holding | ||
:members: | ||
|
||
Portfolio | ||
^^^^^^^^^ | ||
|
||
.. automodule:: Model.Portfolio | ||
--------- | ||
|
||
.. autoclass:: Portfolio | ||
:members: | ||
|
||
DatabaseHandler | ||
^^^^^^^^^^^^^^^ | ||
|
||
.. automodule:: Model.DatabaseHandler | ||
--------------- | ||
|
||
.. autoclass:: DatabaseHandler | ||
:members: | ||
|
||
StockPriceGetter | ||
^^^^^^^^^^^^^^^^ | ||
|
||
.. automodule:: Model.StockPriceGetter | ||
---------------- | ||
|
||
.. autoclass:: StockPriceGetter | ||
:members: | ||
|
||
ConfigurationManager | ||
-------------------- | ||
|
||
.. autoclass:: ConfigurationManager | ||
:members: | ||
|
||
Trade | ||
----- | ||
|
||
.. autoclass:: Trade | ||
:members: | ||
|
||
Broker | ||
====== | ||
|
||
The ``broker`` module contains the interfaces to connect to the online market brokers | ||
|
||
.. automodule:: tradingmate.model.broker | ||
|
||
AlphaVantageInterface | ||
--------------------- | ||
|
||
.. autoclass:: AlphaVantageInterface | ||
:members: | ||
|
||
YFinanceInterface | ||
----------------- | ||
|
||
.. autoclass:: YFinanceInterface | ||
:members: | ||
|
||
StocksInterface | ||
--------------- | ||
|
||
.. autoclass:: StocksInterface | ||
:members: | ||
|
||
StocksInterfaceFactory | ||
---------------------- | ||
|
||
.. autoclass:: StocksInterfaceFactory | ||
:members: | ||
|
||
UI | ||
--- | ||
=== | ||
|
||
The ``UI`` module contains the components that compose the User Interface | ||
The ``ui`` module contains the components that compose the User Interface | ||
of TradingMate. | ||
|
||
DataInterface | ||
^^^^^^^^^^^^^ | ||
.. automodule:: tradingmate.ui | ||
|
||
.. automodule:: UI.DataInterface | ||
DataInterface | ||
------------- | ||
|
||
.. autoclass:: DataInterface | ||
:members: | ||
|
||
TradingMateClient | ||
^^^^^^^^^^^^^^^^^ | ||
|
||
.. automodule:: UI.TradingMateClient | ||
----------------- | ||
|
||
.. autoclass:: TradingMateClient | ||
:members: | ||
|
||
GTK | ||
^^^ | ||
--- | ||
|
||
The ``gtk`` module contains the gtk components and widgets of the | ||
graphical interface. They are not documented due to a Sphinx issue when | ||
importing the ``gi`` Python module | ||
|
||
Utils | ||
----- | ||
===== | ||
|
||
The ``Utils`` module contains all the utlity components. | ||
The ``utils`` module contains all the utlity components. | ||
|
||
.. automodule:: tradingmate.utils | ||
|
||
ConfigurationManager | ||
^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. automodule:: Utils.ConfigurationManager | ||
Enums | ||
----- | ||
|
||
.. autoclass:: ConfigurationManager | ||
.. autoclass:: Actions | ||
:members: | ||
|
||
TaskThread | ||
^^^^^^^^^^ | ||
|
||
.. automodule:: Utils.TaskThread | ||
|
||
.. autoclass:: TaskThread | ||
.. autoclass:: Markets | ||
:members: | ||
|
||
Trade | ||
^^^^^ | ||
|
||
.. automodule:: Utils.Trade | ||
|
||
.. autoclass:: Trade | ||
.. autoclass:: Messages | ||
:members: | ||
|
||
Utils | ||
^^^^^ | ||
|
||
.. automodule:: Utils.Utils | ||
TaskThread | ||
---------- | ||
|
||
.. autoclass:: Actions | ||
.. autoclass:: TaskThread | ||
:members: | ||
|
||
.. autoclass:: Messages | ||
:members: | ||
Utils | ||
----- | ||
|
||
.. autoclass:: Markets | ||
.. autoclass:: Utils | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.