MCPcopy Create free account

hub / github.com/MikePia/structjour / types & classes

Types & classes156 in github.com/MikePia/structjour

↓ 34 callersClassStrategyCrud
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 callersClassStatementDB
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 callersClassBackup
A utility to store and restore settings for use in testing. Be careful not to lose data.
structjour/utilities/backup.py:37
↓ 23 callersClassSumReqFields
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 callersClassFinReqCol
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 callersClassIbStatement
Hold the column names for tables in Flex Queries. The names are a subset of the possible columns.
structjour/statements/ibstatement.py:69
↓ 13 callersClassDefineTrades
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 callersClassDailyNotesCrud
structjour/statements/dailynotescrud.py:38
↓ 9 callersClassManageKeys
structjour/stock/utilities.py:289
↓ 9 callersClassTradeFormat
Create, register and store Workbook styles. Include methods and functions in this module to work with the Workbook.
structjour/tradestyle.py:98
↓ 9 callersClassXLImage
Handle image stuff
structjour/xlimage.py:31
↓ 8 callersClassDasStatement
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 callersClassEJControl
Pop up and request the journal directory
structjour/view/ejcontrol.py:36
↓ 7 callersClassDailyControl
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 callersClassJournalFiles
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 callersClassAPIChooser
structjour/stock/apichooser.py:36
↓ 6 callersClassClickLabel
Add a context menu to a QLabel
structjour/view/clicklabel.py:30
↓ 6 callersClassLayoutForms
Run theTradeObject summaries to get the tto DataFrame and populate the trade form for each trade.
structjour/view/layoutforms.py:44
↓ 6 callersClassRTG
structjour/utilities/rtg.py:37
↓ 6 callersClassReqCol
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 callersClassSumControl
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 callersClassApiKey
structjour/models/api_keymodel.py:30
↓ 5 callersClassExportToExcel
Export to excel from python objects
structjour/view/exportexcel.py:53
↓ 5 callersClassFinPlot
Plot stock charts using single day minute interval charts
structjour/stock/graphstuff.py:90
↓ 5 callersClassInspire
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 callersClassLayoutSheet
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 callersClassMistakeSummary
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 callersClassTingo_REST
structjour/stock/mytiingo.py:59
↓ 4 callersClassCalendarControl
structjour/view/calendarcontrol.py:18
↓ 4 callersClassInspireCrud
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 callersClassTradeCrud
structjour/statements/statementcrud.py:56
↓ 4 callersClassWhereClause
structjour/stats/sqlfilter.py:13
↓ 3 callersClassBarChart
A Qt embedded matplotlib barchart. Uses the __init__() of ChartBase. ChartBase.__init__() params: --------------------------------------
structjour/view/charts/generic_barchart.py:32
↓ 3 callersClassChartControl
[list of settings]
structjour/view/chartcontrol.py:35
↓ 3 callersClassCreateDirs
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 callersClassDbDoctorCrud
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 callersClassDbFilter
structjour/stats/sqlfilter.py:22
↓ 3 callersClassFileSetCtrl
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 callersClassFindFiles
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 callersClassInspire
structjour/models/inspiremodel.py:30
↓ 3 callersClassStockApi
[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 callersClassWeGot
Manage the saved objects we got
structjour/utilities/synchronizesavedstuff.py:34
↓ 2 callersClassBackupControl
Backup and restore settings and database
structjour/view/backupcontrol.py:38
↓ 2 callersClassDisReqCol
structjour/discipline/disciplined.py:35
↓ 2 callersClassDisciplineControl
Controller for the disciplinedform.ui form
structjour/view/disciplinedcontrol.py:40
↓ 2 callersClassDupControl
Controller for the duplicatetrade.ui
structjour/view/duplicatecontrol.py:36
↓ 2 callersClassETControl
structjour/view/etcontrol.py:35
↓ 2 callersClassEditTagsDlg
structjour/view/tagsedit.py:37
↓ 2 callersClassGetDate
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 callersClassIbSettings
structjour/stock/utilities.py:361
↓ 2 callersClassMigrateModel
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 callersClassMultiTradeProfit_BarchartData
structjour/view/charts/multitradeprofit_barchartdata.py:29
↓ 2 callersClassMyTextEdit
Create a new menu item and emit a signal when it is chosen
structjour/view/mytextedit.py:30
↓ 2 callersClassPandasModel
A gift from Stack. Seems to work well
structjour/view/dfmodel.py:30
↓ 2 callersClassSource
structjour/models/strategymodels.py:44
↓ 2 callersClassStatitisticsHubControl
structjour/view/statisticshubcontrol.py:43
↓ 2 callersClassStratControl
Control module for the ui created strategybrowser
structjour/view/stratcontrol.py:37
↓ 2 callersClassStrategyAverage_BarchartData
structjour/view/charts/strategyaverage_barchartdata.py:29
↓ 2 callersClassStrategyPercentages_PiechartData
An instance class for a pie chart
structjour/view/charts/strategypercentages_piechartdata.py:29
↓ 2 callersClassStyledHTML
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 callersClassTestApp
My very own double
structjour/stock/myib.py:172
↓ 2 callersClassTestDailyCtrl
Test sytem interaction.
system_tests/test_dailycontrol_system.py:82
↓ 2 callersClassTestJF
Test the methods in JournalFiles
test/test_journalfiles.py:49
↓ 2 callersClassTheTradeObject
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 callersClassUnbalControl
structjour/view/unbalancedcontrol.py:39
↓ 1 callersClassCharts
structjour/models/trademodels.py:546
↓ 1 callersClassClickBrowser
Add a context menu to a QLabel
structjour/view/clickbrowser.py:30
↓ 1 callersClassCovered
structjour/models/coveredmodel.py:29
↓ 1 callersClassDailyNotes
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 callersClassDescription
structjour/models/strategymodels.py:159
↓ 1 callersClassHolidays
structjour/models/holidaysmodel.py:28
↓ 1 callersClassImages
structjour/models/strategymodels.py:221
↓ 1 callersClassLinks
structjour/models/strategymodels.py:287
↓ 1 callersClassMigrate
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 callersClassMyListWidget
Add a context menu to a QLabel
structjour/view/mylistwidget.py:30
↓ 1 callersClassPiechart
A Qt embedded matplotlib piechart. Uses the __init__() of ChartBase. ChartBase.__init__() params: --------------------------------------
structjour/view/charts/generic_piechart_legend.py:33
↓ 1 callersClassStrategy
structjour/models/strategymodels.py:71
↓ 1 callersClassTags
structjour/models/trademodels.py:41
↓ 1 callersClassTestAPIChooser
test/test_apichooser.py:36
↓ 1 callersClassTestChartCtrl
test/test_chartcontrol.py:45
↓ 1 callersClassTestDailyCtrl
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 callersClassTestDailyNotesCrud
test/test_dailynotescrud.py:36
↓ 1 callersClassTestDefineTrades
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 callersClassTestGraphstuff
Test functions and methods in the graphstuff module
test/test_graphstuff.py:50
↓ 1 callersClassTestIbStatement
test/test_ibstatement.py:38
↓ 1 callersClassTestLayoutSheet
Run all of structjour with a collection of input files and test the outcome
test/test_layoutsheet.py:54
↓ 1 callersClassTestMeta
test/test_meta.py:30
↓ 1 callersClassTestMistakeSummary
Run all of structjour with a collection of input files and test the outcome
test/test_dailysumforms.py:38
↓ 1 callersClassTestMyalphavantage
Test methods and functions from the modulemyalphavantage
test/test_myalphavantage.py:33
↓ 1 callersClassTestMybarchart
Test functions in module bybarchart
test/test_mybarchart.py:57
↓ 1 callersClassTestMyib
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 callersClassTestSapi
test/test_sapicontrol.py:43
↓ 1 callersClassTestTheTradeObject
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 callersClassTestTradeFormat
Test the methods in journal.tradestyle.TradeFormat and also the functions in the module.
test/test_tradestyle.py:38
↓ 1 callersClassTestUtilities
Test functions in the stock.utilities module
test/test_utilities.py:125
↓ 1 callersClassTestXLImage
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 callersClassTest_DfUtil
Test something
test/test_dfutil.py:36
↓ 1 callersClassTest_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 callersClassTest_ExportToExcel_MistakeData
Test the forms data. Elaborate setup. Kind of eloborate tests. It Aint TDD
test/test_exporttoexcel_mistakesummary.py:57
↓ 1 callersClassTest_FindFiles
Test functions and methods in the graphstuff module
test/test_findfiles.py:39
next →1–100 of 156, ranked by callers