MCPcopy Create free account

hub / github.com/MikePia/structjour / functions

Functions1,304 in github.com/MikePia/structjour

↓ 1 callersMethodtest_getib_intraday
This will provide time based failures on market holidays. If you are woking on a holiday, it serves you right :)
test/test_myib.py:71
↓ 1 callersMethodtest_getmav_intraday
This will provide time based failures on market holidays. If you are woking on a holiday, it serves you right :)
test/test_myalphavantage.py:36
↓ 1 callersMethodtest_initFromSettings
(self)
test/test_chartcontrol.py:116
↓ 1 callersMethodtest_mstkSumStyles
Test the method MistakeSummary.mstkSumStyle.
test/test_dailysumforms.py:51
↓ 1 callersMethodtest_populateXLDailyFormulas
Test populateXLDailyFormulas. Specifically test that the value written to the ws is a formula (it begins with =).
test/test_exporttoexcel_mistakesummary.py:249
↓ 1 callersMethodtest_populateXLDailySummaryForm
Test the method populateXLDailySummaryForm. Specifically test that given a specific anchor, 12 specific spots are written to by defau
test/test_exporttoexcel.py:181
↓ 1 callersMethodtest_setStopVals
(self)
test/test_layoutforms.py:193
↓ 1 callersMethodtest_sortIt
Test sortIt and reorderAPIPref
test/test_sapicontrol.py:97
↓ 1 callersMethodtest_styleTop
Test the method layoutsheet.LayoutSheet.styleTop. This will probably produce warnings from openpyxl as there is empty data when it m
test/test_layoutsheet.py:148
↓ 1 callersMethodtoggleTimeFormat
reload the time values for the trade time entries. This is done after toggling the date format to use (includes date info or not).
structjour/view/layoutforms.py:397
↓ 1 callersMethodtradeDb
Set the tradeDB settings from the widget and color the widget text showing existance/not.
structjour/view/filesetcontrol.py:191
↓ 1 callersMethodtradesBySetClicked
(self, val)
structjour/view/statisticshubcontrol.py:347
↓ 1 callersFunctiontrimit
Use utilities.trimit instead.
structjour/stock/myFinhub.py:194
↓ 1 callersMethodtrimit
(self, df, maDict, start, end, meta)
structjour/stock/mystockapi.py:6
↓ 1 callersFunctionunix2pd
Convert back from Finnhubs unix time to a naive time that reflects US/Eastern timezone. :params t: int: Finnhubs unix time
structjour/stock/myFinhub.py:86
↓ 1 callersFunctionupdate
()
structjour/inspiration/load.py:114
↓ 1 callersMethodupdate
Update the db with obj. Either id or obj must be provided. :params id: int: Id of object to update :params obj: Model: The o
structjour/inspiration/load.py:57
↓ 1 callersMethodupdate
Commit obj to database :params obj: <Inspire> An updated obj to commit
structjour/models/inspiremodel.py:152
↓ 1 callersMethodupdateAvgBalPlOC_SA
DB update ib_trades for average, balance, PnL and OpenClose :params atrade: A Trade model instance
structjour/statements/ibstatementdb.py:589
↓ 1 callersMethodupdateChart
(self, tsid, chart, slot)
structjour/statements/statementcrud.py:217
↓ 1 callersMethodupdateEntries
(self, tsid, tids)
structjour/statements/statementcrud.py:228
↓ 1 callersMethodupdateEntriesSA
(self, tsid, tdf)
structjour/statements/ibstatementdb.py:194
↓ 1 callersMethodupdateMstkVals
(self, tsid, val, note)
structjour/statements/statementcrud.py:211
↓ 1 callersMethodupdateMstkValsSA
(self, ts_id, val, note)
structjour/statements/ibstatementdb.py:283
↓ 1 callersMethodupdateTSID
Update the tsid in the ib_trades record :params t_id: Trade id from the ib_trades table :params ts_id: Trade summary id from
structjour/statements/ibstatementdb.py:361
↓ 1 callersMethodupdateTradeSummariesSA
structjour/statements/ibstatementdb.py:226
↓ 1 callersMethodupdateTradeSummary
Update the user fields in trade_sum. :params trade: DataFrame that uses the column names defined in SumReqFields
structjour/statements/statementcrud.py:141
↓ 1 callersMethodupdateTsDictionary
Up date older versions of the dictionary that lack some keys. Specifically update the chart widget elements
structjour/view/layoutforms.py:307
↓ 1 callersMethodvalidateColors
Check that the color names in each QlineEdit widget for a color has a legit mpl color Otherwise, set it to black. This is currently c
structjour/view/chartcontrol.py:177
↓ 1 callersFunctionvalidateDurString
Utility method to enforce an IB requirement.
structjour/stock/myib.py:97
↓ 1 callersFunctionverifyNameInfo
Test if the chart filename passes this very specific test to verify it has the info required in the expected format. No harm no foul if it fa
structjour/view/sumcontrol.py:1461
↓ 1 callersFunctionvwap
I believe the standard version of vwap begins at open and does not include previous MA stuff. I retrieved the algo from an SO post. Thankyou
structjour/stock/utilities.py:138
MethodDBfigureUnbalancedPL
A secondary attempt to get balance for the badTrade bt. bt has a PL but lacks balance. First set it as a closer and set the a
structjour/statements/ibstatementdb.py:430
Method__init__
(self, *args, **kwargs)
test/test_ibstatement.py:39
Method__init__
(self, *args, **kwargs)
test/test_meta.py:31
Method__init__
(self, *args, **kwargs)
test/test_createdirscontrol.py:42
Method__init__
(self, *args, **kwargs)
test/test_graphstuff.py:55
Method__init__
(self, *args, **kwargs)
test/test_chartcontrol.py:47
Method__init__
(self, *args, **kwargs)
test/test_util.py:36
Method__init__
(self, *args, **kwargs)
test/test_sapicontrol.py:45
Method__init__
(self, *args, **kwargs)
test/test_xlimage.py:44
Method__init__
(self, *args, **kwargs)
test/test_layoutsheet.py:59
Method__init__
(self, *args, **kwargs)
test/test_structjour.py:91
Method__init__
(self)
test/test_utilities.py:43
Method__init__
(self, *args, **kwargs)
test/test_utilities.py:128
Method__init__
(self, *args, **kwargs)
test/test_findfiles.py:44
Method__init__
(self, *args, **kwargs)
test/test_dailycontrol.py:51
Method__init__
(self, *args, **kwargs)
test/test_apichooser.py:38
Method__init__
When we initialze the object, ensure that we always run from src as the cwd
test/test_journalfiles.py:54
Method__init__
(self, *args, **kwargs)
test/test_ibstatementdb.py:49
Method__init__
(self, *args, **kwargs)
test/test_tradestyle.py:43
Method__init__
When we initialze the object, ensure that we always run from src as the cwd
test/test_dfutil.py:41
Method__init__
(self, *args, **kwargs)
test/test_unbalancedcontrol.py:48
Method__init__
(self, *args, **kwargs)
test/test_time.py:41
Method__init__
(self, *args, **kwargs)
test/test_dailysumforms.py:43
Method__init__
(self, *args, **kwargs)
system_tests/test_dailycontrol_system.py:85
Method__init__
rcvals are the actual column titles rckeys are the abstracted names for use with all file types The abstraction provides code style c
structjour/thetradeobject.py:79
Method__init__
Create a dataframe that includes all the summary material for review. Some of this data comes from the program and some of it comes f
structjour/thetradeobject.py:425
Method__init__
Constructor :params topMargin: The space at the top before the trade table. Includes the inspire quote and
structjour/layoutsheet.py:52
Method__init__
Create named styles. Register them with the Workbook wb, and add them to self.styles, a dict with named style title as a key.
structjour/tradestyle.py:104
Method__init__
Creates the required path and field names to run the program. Raises value error if the input file cannot be located. If mydevel is T
structjour/journalfiles.py:41
Method__init__
Set the required columns in the import file.
structjour/definetrades.py:44
Method__init__
Constructor Note: source is not used by this class. Argument could be probably be removed.
structjour/definetrades.py:79
Method__init__
Constructor which may never be used. (but it could be)
structjour/dfutil.py:34
Method__init__
(self, numTrades, anchor=(1, 1))
structjour/dailysumforms.py:36
Method__init__
Create the XLImage, set the name and the size image here. :params default: Location of a default image to use :params heightI
structjour/xlimage.py:35
Method__init__
Initialize and set the db location
structjour/statements/statementcrud.py:57
Method__init__
(self, daDate=None, db=None, settings=None)
structjour/statements/dailynotescrud.py:39
Method__init__
Initialize and set the db location
structjour/statements/ibstatementdb.py:54
Method__init__
Initialize and set the db location
structjour/statements/dbdoctor.py:43
Method__init__
(self)
structjour/statements/findfiles.py:37
Method__init__
(self, infile, settings, theDate, positions='positions.csv', df=None)
structjour/statements/dasstatement.py:50
Method__init__
(self, db=None)
structjour/statements/ibstatement.py:79
Method__init__
(self, settings)
structjour/discipline/getfiles.py:31
Method__init__
(self, thedate=dt.date.today())
structjour/discipline/disciplined.py:36
Method__init__
Constructor
structjour/strategy/strat.py:30
Method__init__
(self, create=False, db=None)
structjour/strategy/strategycrud.py:38
Method__init__
(self, create=False, db=None)
structjour/stock/utilities.py:290
Method__init__
(self)
structjour/stock/utilities.py:362
Method__init__
The currenly supported apis are barchart, alphavantage, finnhub, tiingo and ibapi These are represented by the tokens bc, av,
structjour/stock/apichooser.py:37
Method__init__
(self)
structjour/stock/myalphavantage.py:151
Method__init__
(self, mplstyle='dark_background')
structjour/stock/graphstuff.py:95
Method__init__
(self, wrapprr)
structjour/stock/myib.py:119
Method__init__
(self)
structjour/stock/myib.py:128
Method__init__
(self, source='DAS')
structjour/colz/finreqcol.py:36
Method__init__
:params parent: The Qt Parent widget or None :params btn_wdg: A button widget to popup next to. Intended as the button that calls thi
structjour/view/calendarcontrol.py:19
Method__init__
:params testSettings: Override the settings key. Intended for testing. Proividing a value for testSettings will prevent show from
structjour/view/createdirscontrol.py:40
Method__init__
(self)
structjour/view/ejcontrol.py:40
Method__init__
(self, sc)
structjour/view/runtrade.py:76
Method__init__
Initialze with all the elements needed :params style: The css :params body: The html between the body tags (not including<body>)
structjour/view/styledhtml.py:31
Method__init__
Initialize the dialog ui. Optionally set a local db
structjour/view/dailycontrol.py:66
Method__init__
(self, df=pd.DataFrame(), parent=None)
structjour/view/dfmodel.py:34
Method__init__
(self, parent=None, labels=None)
structjour/view/tagsedit.py:38
Method__init__
(self)
structjour/view/unbalancedcontrol.py:41
Method__init__
(self)
structjour/view/etcontrol.py:37
Method__init__
(self, settings, db=None)
structjour/view/sapicontrol.py:40
Method__init__
(self)
structjour/view/duplicatecontrol.py:40
Method__init__
(self, settings, initialize=False)
structjour/view/filesetcontrol.py:42
Method__init__
(self)
structjour/view/stratcontrol.py:41
Method__init__
(self)
structjour/view/disciplinedcontrol.py:44
← previousnext →701–800 of 1,304, ranked by callers