Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MikePia/structjour
/ types & classes
Types & classes
156 in github.com/MikePia/structjour
⨍
Functions
1,304
◇
Types & classes
156
↓ 34 callers
Class
StrategyCrud
Implement the required methods of structjour.strategy.strategies.Strategy with SA. This class is currently wired for sqlite connect to to the
structjour/strategy/strategycrud.py:31
↓ 32 callers
Class
StatementDB
Methods to create and manage tables to store Activity Statements. Fields are exactly IB fields from activity flex query
structjour/statements/ibstatementdb.py:48
↓ 28 callers
Class
Backup
A utility to store and restore settings for use in testing. Be careful not to lose data.
structjour/utilities/backup.py:37
↓ 23 callers
Class
SumReqFields
Manage the required columns, cell location and namedStyle for the summary aka TheTradeObject and TheTradeStyle. There are three types of data
structjour/thetradeobject.py:48
↓ 20 callers
Class
FinReqCol
Intended to serve as the adapter class for multiple input files. FinReqCol manages the column names for the output file. It includes some of
structjour/colz/finreqcol.py:28
↓ 16 callers
Class
IbStatement
Hold the column names for tables in Flex Queries. The names are a subset of the possible columns.
structjour/statements/ibstatement.py:69
↓ 13 callers
Class
DefineTrades
DefineTrades moves the data from transaction centric to trade centric with a collection of transactions make a single trade. The dataframe re
structjour/definetrades.py:71
↓ 11 callers
Class
DailyNotesCrud
structjour/statements/dailynotescrud.py:38
↓ 9 callers
Class
ManageKeys
structjour/stock/utilities.py:289
↓ 9 callers
Class
TradeFormat
Create, register and store Workbook styles. Include methods and functions in this module to work with the Workbook.
structjour/tradestyle.py:98
↓ 9 callers
Class
XLImage
Handle image stuff
structjour/xlimage.py:31
↓ 8 callers
Class
DasStatement
Handles opening DAS export files from the trades and positions window and creating a df. Adds Balance, Average, OC and Date columns
structjour/statements/dasstatement.py:45
↓ 8 callers
Class
EJControl
Pop up and request the journal directory
structjour/view/ejcontrol.py:36
↓ 7 callers
Class
DailyControl
Controller for the daily summary form. The form includes a user notes saved in db, 2 daily summary forms and processed input file showing the
structjour/view/dailycontrol.py:60
↓ 7 callers
Class
JournalFiles
Handles the location of directories to read from and to write to, and also the names of the files to read and write.
structjour/journalfiles.py:32
↓ 6 callers
Class
APIChooser
structjour/stock/apichooser.py:36
↓ 6 callers
Class
ClickLabel
Add a context menu to a QLabel
structjour/view/clicklabel.py:30
↓ 6 callers
Class
LayoutForms
Run theTradeObject summaries to get the tto DataFrame and populate the trade form for each trade.
structjour/view/layoutforms.py:44
↓ 6 callers
Class
RTG
structjour/utilities/rtg.py:37
↓ 6 callers
Class
ReqCol
Intended as an adapter class for multiple input types. ReqCol are the columns for the original input file All of these are required.
structjour/definetrades.py:38
↓ 6 callers
Class
SumControl
A control class for summaryform and its dialogs which are created maintained by Qt designer. The front end object is the ui (self.ui) parame
structjour/view/sumcontrol.py:78
↓ 5 callers
Class
ApiKey
structjour/models/api_keymodel.py:30
↓ 5 callers
Class
ExportToExcel
Export to excel from python objects
structjour/view/exportexcel.py:53
↓ 5 callers
Class
FinPlot
Plot stock charts using single day minute interval charts
structjour/stock/graphstuff.py:90
↓ 5 callers
Class
Inspire
TODO use an optional db to keep track of these and allow the user to add and delete quotes. The quotes in the __init__ will be the initial quotes
structjour/inspiration/inspire.py:26
↓ 5 callers
Class
LayoutSheet
Contains methods to layout the material on the excel page. Uses both pandas and openpyxl depending on how far in the program. Generally
structjour/layoutsheet.py:45
↓ 5 callers
Class
MistakeSummary
Two excel Forms, mistake and dailysummary. Coordinates are excel coordinates with a translation anchor. This class will handle the named styl
structjour/dailysumforms.py:29
↓ 5 callers
Class
Tingo_REST
structjour/stock/mytiingo.py:59
↓ 4 callers
Class
CalendarControl
structjour/view/calendarcontrol.py:18
↓ 4 callers
Class
InspireCrud
Mostly just wraps Inspire class methods using an instance of InspireCrud. But getRandom and update decorate with added functionality.
structjour/inspiration/load.py:34
↓ 4 callers
Class
TradeCrud
structjour/statements/statementcrud.py:56
↓ 4 callers
Class
WhereClause
structjour/stats/sqlfilter.py:13
↓ 3 callers
Class
BarChart
A Qt embedded matplotlib barchart. Uses the __init__() of ChartBase. ChartBase.__init__() params: --------------------------------------
structjour/view/charts/generic_barchart.py:32
↓ 3 callers
Class
ChartControl
[list of settings]
structjour/view/chartcontrol.py:35
↓ 3 callers
Class
CreateDirs
CreateDirs is a dialog that enables the user to disable the auto gen of directories and provides a facility to choose what months of subdirec
structjour/view/createdirscontrol.py:35
↓ 3 callers
Class
DbDoctorCrud
Methods to look for discrepancies in the DB. Currently, just for finding and eliminting duplicate records caused by small time differences be
structjour/statements/dbdoctor.py:37
↓ 3 callers
Class
DbFilter
structjour/stats/sqlfilter.py:22
↓ 3 callers
Class
FileSetCtrl
The file settings dialog. Top level dialg triggered by File->FileSettings menu. Display the current settings (QSetting), define the dialog ac
structjour/view/filesetcontrol.py:37
↓ 3 callers
Class
FindFiles
Provide an alternative to JournalFiles, which was created to support a console app. FindFiles is a more direct approach to file management.
structjour/statements/findfiles.py:31
↓ 3 callers
Class
Inspire
structjour/models/inspiremodel.py:30
↓ 3 callers
Class
StockApi
[ibRealPort, ibRealId, ibPaperPort, ibPaperId, ibRealCb, ibPaperCb, bcCb, avCb, fhCb, tgoCb, APIPref] The api keys are held in the databa
structjour/view/sapicontrol.py:34
↓ 3 callers
Class
WeGot
Manage the saved objects we got
structjour/utilities/synchronizesavedstuff.py:34
↓ 2 callers
Class
BackupControl
Backup and restore settings and database
structjour/view/backupcontrol.py:38
↓ 2 callers
Class
DisReqCol
structjour/discipline/disciplined.py:35
↓ 2 callers
Class
DisciplineControl
Controller for the disciplinedform.ui form
structjour/view/disciplinedcontrol.py:40
↓ 2 callers
Class
DupControl
Controller for the duplicatetrade.ui
structjour/view/duplicatecontrol.py:36
↓ 2 callers
Class
ETControl
structjour/view/etcontrol.py:35
↓ 2 callers
Class
EditTagsDlg
structjour/view/tagsedit.py:37
↓ 2 callers
Class
GetDate
CreateDirs is a dialog that enables the user to disable the auto gen of directories and provides a facility to choose what months of subdirec
structjour/view/getdatecontrol.py:35
↓ 2 callers
Class
IbSettings
structjour/stock/utilities.py:361
↓ 2 callers
Class
MigrateModel
A table to keep track of migrations that have run so that we may skip or partially run as needed.
structjour/models/meta.py:35
↓ 2 callers
Class
MultiTradeProfit_BarchartData
structjour/view/charts/multitradeprofit_barchartdata.py:29
↓ 2 callers
Class
MyTextEdit
Create a new menu item and emit a signal when it is chosen
structjour/view/mytextedit.py:30
↓ 2 callers
Class
PandasModel
A gift from Stack. Seems to work well
structjour/view/dfmodel.py:30
↓ 2 callers
Class
Source
structjour/models/strategymodels.py:44
↓ 2 callers
Class
StatitisticsHubControl
structjour/view/statisticshubcontrol.py:43
↓ 2 callers
Class
StratControl
Control module for the ui created strategybrowser
structjour/view/stratcontrol.py:37
↓ 2 callers
Class
StrategyAverage_BarchartData
structjour/view/charts/strategyaverage_barchartdata.py:29
↓ 2 callers
Class
StrategyPercentages_PiechartData
An instance class for a pie chart
structjour/view/charts/strategypercentages_piechartdata.py:29
↓ 2 callers
Class
StyledHTML
A template for styled html-no external file. Currently-it turned into specific. See if I can make it general.
structjour/view/styledhtml.py:26
↓ 2 callers
Class
TestApp
My very own double
structjour/stock/myib.py:172
↓ 2 callers
Class
TestDailyCtrl
Test sytem interaction.
system_tests/test_dailycontrol_system.py:82
↓ 2 callers
Class
TestJF
Test the methods in JournalFiles
test/test_journalfiles.py:49
↓ 2 callers
Class
TheTradeObject
Note that this is called when opening a trade from a statment. Create the flattened version of a trade summary, that is, take the multiple tr
structjour/thetradeobject.py:414
↓ 2 callers
Class
UnbalControl
structjour/view/unbalancedcontrol.py:39
↓ 1 callers
Class
Charts
structjour/models/trademodels.py:546
↓ 1 callers
Class
ClickBrowser
Add a context menu to a QLabel
structjour/view/clickbrowser.py:30
↓ 1 callers
Class
Covered
structjour/models/coveredmodel.py:29
↓ 1 callers
Class
DailyNotes
TODO Why did I create the date as an Integer???. Translate it to SA for now. Maybe change it later
structjour/models/dailynotemodel.py:33
↓ 1 callers
Class
Description
structjour/models/strategymodels.py:159
↓ 1 callers
Class
Holidays
structjour/models/holidaysmodel.py:28
↓ 1 callers
Class
Images
structjour/models/strategymodels.py:221
↓ 1 callers
Class
Links
structjour/models/strategymodels.py:287
↓ 1 callers
Class
Migrate
A data migration to change trade_sum.MktVal entries from BLOB type to 0. This pre-release migration will be removed at Beta 2. It is necessar
structjour/migrations/_0003_model_trade_sum_dataonly.py:38
↓ 1 callers
Class
MyListWidget
Add a context menu to a QLabel
structjour/view/mylistwidget.py:30
↓ 1 callers
Class
Piechart
A Qt embedded matplotlib piechart. Uses the __init__() of ChartBase. ChartBase.__init__() params: --------------------------------------
structjour/view/charts/generic_piechart_legend.py:33
↓ 1 callers
Class
Strategy
structjour/models/strategymodels.py:71
↓ 1 callers
Class
Tags
structjour/models/trademodels.py:41
↓ 1 callers
Class
TestAPIChooser
test/test_apichooser.py:36
↓ 1 callers
Class
TestChartCtrl
test/test_chartcontrol.py:45
↓ 1 callers
Class
TestDailyCtrl
Test the db calls and the user interaction stuff. The DailyCtrl form has a daily summary table, generated from the summary form and daily t
test/test_dailycontrol.py:45
↓ 1 callers
Class
TestDailyNotesCrud
test/test_dailynotescrud.py:36
↓ 1 callers
Class
TestDefineTrades
Run all of structjour with a collection of input files and test the outcome The methods called in the processDBTrades are dependent on their
test/test_definetrades.py:51
↓ 1 callers
Class
TestGraphstuff
Test functions and methods in the graphstuff module
test/test_graphstuff.py:50
↓ 1 callers
Class
TestIbStatement
test/test_ibstatement.py:38
↓ 1 callers
Class
TestLayoutSheet
Run all of structjour with a collection of input files and test the outcome
test/test_layoutsheet.py:54
↓ 1 callers
Class
TestMeta
test/test_meta.py:30
↓ 1 callers
Class
TestMistakeSummary
Run all of structjour with a collection of input files and test the outcome
test/test_dailysumforms.py:38
↓ 1 callers
Class
TestMyalphavantage
Test methods and functions from the modulemyalphavantage
test/test_myalphavantage.py:33
↓ 1 callers
Class
TestMybarchart
Test functions in module bybarchart
test/test_mybarchart.py:57
↓ 1 callers
Class
TestMyib
Test methods and functions in the myib module This will currently retrive only market hours data. It will match the other APIs. But we ca
test/test_myib.py:34
↓ 1 callers
Class
TestSapi
test/test_sapicontrol.py:43
↓ 1 callers
Class
TestTheTradeObject
Test the functions and methods in thetradeobject module. TheTradeObject input requires a bunch of prerequisites. 1. Trade transactions ne
test/test_thetradeobject.py:50
↓ 1 callers
Class
TestTradeFormat
Test the methods in journal.tradestyle.TradeFormat and also the functions in the module.
test/test_tradestyle.py:38
↓ 1 callers
Class
TestUtilities
Test functions in the stock.utilities module
test/test_utilities.py:125
↓ 1 callers
Class
TestXLImage
Test the functions in methods in thetradeobject module. Created no tests for getAndResizeImage and getPilImage. By the time I have automated
test/test_xlimage.py:37
↓ 1 callers
Class
Test_DfUtil
Test something
test/test_dfutil.py:36
↓ 1 callers
Class
Test_ExportToExcel
Test the ExportToExcel Object. Generally use this class for less elaborate setups and Test_ExportToExcel_MistakeData for more elaborate setup
test/test_exporttoexcel.py:70
↓ 1 callers
Class
Test_ExportToExcel_MistakeData
Test the forms data. Elaborate setup. Kind of eloborate tests. It Aint TDD
test/test_exporttoexcel_mistakesummary.py:57
↓ 1 callers
Class
Test_FindFiles
Test functions and methods in the graphstuff module
test/test_findfiles.py:39
next →
1–100 of 156, ranked by callers