Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MikePia/structjour
/ functions
Functions
1,304 in github.com/MikePia/structjour
⨍
Functions
1,304
◇
Types & classes
156
↓ 1 callers
Function
main
()
test/test_unbalancedcontrol.py:108
↓ 1 callers
Function
main
()
test/test_exporttoexcel_mistakesummary.py:273
↓ 1 callers
Function
main
()
test/test_time.py:120
↓ 1 callers
Function
main
()
test/test_dailysumforms.py:138
↓ 1 callers
Function
main
()
structjour/time.py:155
↓ 1 callers
Function
main
()
structjour/discipline/getfiles.py:192
↓ 1 callers
Function
main
Local runs for debugging
structjour/stock/mybarchart.py:234
↓ 1 callers
Function
main
test run
structjour/stock/myib.py:386
↓ 1 callers
Function
main
Run code locally for testing n stuff
structjour/stock/myiex.py:303
↓ 1 callers
Function
main
A local run to print a ranom quote
structjour/inspiration/inspire.py:604
↓ 1 callers
Method
makeDupDict
By reimplementing this for the SA SQL thing, I can avoid rewriting some gnarley stuff
structjour/statements/dbdoctor.py:183
↓ 1 callers
Method
makeOvernight
(self, df)
structjour/utilities/rtg.py:70
↓ 1 callers
Method
makeRandomDASImport
(self, numTrades, start, outfile=None, strict=False, overwrite=True)
structjour/utilities/rtg.py:53
↓ 1 callers
Method
makeShortsNegative
Fix the shares sold to be negative values.
structjour/statements/dasstatement.py:74
↓ 1 callers
Method
makeTradeDict
A convenience to ensure the trade dictionaries are all the same. The arbitrary order is set specifically from the db query
structjour/statements/ibstatementdb.py:490
↓ 1 callers
Method
makeupEntries
(self, symbol, start, end, minutes, fp)
test/test_graphstuff.py:107
↓ 1 callers
Method
mostRecent
(self)
structjour/view/backupcontrol.py:67
↓ 1 callers
Function
ni
Retrieve the correct interval param for Alphavantage, a str like '1min'. Limited to minute charts up to 60 minute candle. :return: (resam
structjour/stock/myalphavantage.py:103
↓ 1 callers
Function
ni
Utility to normalize the the interval parameter. :params i:
structjour/stock/myib.py:76
↓ 1 callers
Function
ni
Return a usable interval (called resolution in the api). Note that ni accepts D W and M but structjour will never put it in a a request.
structjour/stock/myFinhub.py:38
↓ 1 callers
Method
normify
Normalize the df to match other Trade DFs
structjour/statements/dasstatement.py:520
↓ 1 callers
Function
notmain
()
test/test_ibstatement.py:171
↓ 1 callers
Function
notmain
()
test/test_chartcontrol.py:181
↓ 1 callers
Function
notmain
Run some local code
test/test_layoutsheet.py:270
↓ 1 callers
Function
notmain
Run some local code
test/test_myib.py:156
↓ 1 callers
Function
notmain
Run some local code... Careful not to remove keys
test/test_utilities.py:192
↓ 1 callers
Function
notmain
()
test/test_thetradeobject.py:264
↓ 1 callers
Function
notmain
()
test/test_apichooser.py:148
↓ 1 callers
Function
notmain
()
test/test_ibstatementdb.py:303
↓ 1 callers
Function
notmain
()
test/test_layoutforms.py:289
↓ 1 callers
Function
notmain
Run some local code for dev
test/test_myalphavantage.py:157
↓ 1 callers
Function
notmain
()
system_tests/test_dailycontrol_system.py:170
↓ 1 callers
Function
notmain
Run some local code
structjour/thetradeobject.py:909
↓ 1 callers
Function
notmain
Run some local code
structjour/journalfiles.py:236
↓ 1 callers
Function
notmain
()
structjour/statements/dailynotescrud.py:130
↓ 1 callers
Function
notmain
Run some local code
structjour/statements/dbdoctor.py:279
↓ 1 callers
Function
notmain
Run some local code
structjour/statements/dasstatement.py:764
↓ 1 callers
Function
notmain
()
structjour/statements/statement.py:82
↓ 1 callers
Function
notmain
()
structjour/discipline/disciplined.py:667
↓ 1 callers
Function
notmain
Run local code. using a db path unique to this machine
structjour/stock/utilities.py:432
↓ 1 callers
Function
notmain
()
structjour/stock/myFinhub.py:288
↓ 1 callers
Function
notmain
Run local code
structjour/utilities/synchronizesavedstuff.py:474
↓ 1 callers
Method
openActivityFlexCSV
This will process a flex activity statement with headers and with or without metadata. The metadata rows are itendified with BOF BOA
structjour/statements/ibstatement.py:694
↓ 1 callers
Method
openDasFile
Open an DAS export file from the trades window :params defaultPositions: If True, look for a file named {self.positions} (TODO add th
structjour/statements/dasstatement.py:529
↓ 1 callers
Method
orderApis
(self)
structjour/view/sapicontrol.py:165
↓ 1 callers
Function
parseDate
Parse the date in a structjour directory name. Parses the directory structure after the journal directory. Relies on the Qsettings values: jo
structjour/statements/findfiles.py:53
↓ 1 callers
Method
parseDefaultCSVPeriod
The printed perod at the top of the staement comes in at least 3 formats. I have found no specs. If this fails, the program will set
structjour/statements/ibstatement.py:242
↓ 1 callers
Method
pasteToLabel
Rather than paste, we call a method that saves the clipboard to a file, then we open it with QPixmap
structjour/view/stratcontrol.py:154
↓ 1 callers
Method
pasteToLabel
Set the given name, to the QLabel widg. Rather than actually paste, we open the an image file as a Qpixmap and set it to the QLabel.
structjour/view/sumcontrol.py:823
↓ 1 callers
Method
pickleADay
Pickle ts, entries and df. Save note to the db
structjour/discipline/getfiles.py:80
↓ 1 callers
Method
pickleEmAll
Utility to save a bunch of days
structjour/discipline/getfiles.py:94
↓ 1 callers
Method
plot
(self)
structjour/view/charts/intradayprofit_barchart.py:48
↓ 1 callers
Method
plot
(self)
structjour/view/charts/intraday_profit_accum.py:54
↓ 1 callers
Method
plot
(self)
structjour/view/charts/generic_barchart.py:49
↓ 1 callers
Method
populateAccounts
(self)
structjour/view/statisticshubcontrol.py:413
↓ 1 callers
Method
populateCharts
(self)
structjour/view/statisticshubcontrol.py:428
↓ 1 callers
Method
populateM
Create and populate the daily mistakes form as a TableView.
structjour/view/dailycontrol.py:281
↓ 1 callers
Method
populateS
structjour/view/dailycontrol.py:257
↓ 1 callers
Method
populateTags
(self)
structjour/view/statisticshubcontrol.py:389
↓ 1 callers
Method
randomTradeGenerator2
Create a passable DAS import :params earliest: Transaction progress in time with earliest as the easliest possible trade
structjour/utilities/rtg.py:120
↓ 1 callers
Method
reFigureAPL_backwardsSA
A second algorithm to try to fill in some blanks. A bad trade is missing average and/or balance. A trade where balance == sha
structjour/statements/ibstatementdb.py:793
↓ 1 callers
Function
readit
Copied this from statement.py. I think this will be its home--
structjour/statements/ibstatement.py:57
↓ 1 callers
Function
recreateFPEntries
(ts)
structjour/discipline/disciplined.py:274
↓ 1 callers
Function
removekey
()
structjour/models/api_keymodel.py:76
↓ 1 callers
Function
removenote
()
structjour/statements/dailynotescrud.py:125
↓ 1 callers
Function
removestrategy
()
structjour/strategy/strategycrud.py:204
↓ 1 callers
Method
reorderAPIPref
(self, last)
structjour/view/sapicontrol.py:266
↓ 1 callers
Function
reportTwinSavedFiles
Report existing DAS and IB input files that lack outputfiles :Programming notes: After locating twin saves, open the ts dict and the chart d
structjour/utilities/synchronizesavedstuff.py:358
↓ 1 callers
Function
resample
(df, minutes, resolution)
structjour/stock/myFinhub.py:182
↓ 1 callers
Method
restoreDatabase
(self, theDir=None)
structjour/utilities/backup.py:154
↓ 1 callers
Method
restoreSettings
(self, theDir=None)
structjour/utilities/backup.py:202
↓ 1 callers
Method
retranslateUi
(self, Dialog)
structjour/view/forms/getdate.py:47
↓ 1 callers
Method
retranslateUi
(self, Form)
structjour/view/forms/strategybrowser.py:172
↓ 1 callers
Method
retranslateUi
(self, Form)
structjour/view/forms/dailyform.py:83
↓ 1 callers
Method
retranslateUi
(self, Dialog)
structjour/view/forms/entertag.py:49
↓ 1 callers
Method
retranslateUi
(self, Form)
structjour/view/forms/statisticshub.py:351
↓ 1 callers
Method
retranslateUi
(self, Dialog)
structjour/view/forms/backupform.py:90
↓ 1 callers
Method
retranslateUi
(self, Dialog)
structjour/view/forms/unbalanced.py:188
↓ 1 callers
Method
retranslateUi
(self, Dialog)
structjour/view/forms/enterjournal.py:54
↓ 1 callers
Method
retranslateUi
(self, Dialog)
structjour/view/forms/createdirs.py:107
↓ 1 callers
Method
retranslateUi
(self, Dialog)
structjour/view/forms/filesettings.py:299
↓ 1 callers
Method
retranslateUi
(self, Dialog)
structjour/view/forms/stockapi.py:195
↓ 1 callers
Method
retranslateUi
(self, Dialog)
structjour/view/forms/disciplinedform.py:65
↓ 1 callers
Method
retranslateUi
(self, Form)
structjour/view/forms/chartform.py:651
↓ 1 callers
Method
retranslateUi
(self, MainWindow)
structjour/view/forms/summaryform.py:1390
↓ 1 callers
Method
retranslateUi
(self, Dialog)
structjour/view/forms/calendarform.py:26
↓ 1 callers
Method
retranslateUi
(self, Dialog)
structjour/view/forms/duplicatetrade.py:101
↓ 1 callers
Method
runDialog
(self, df, ticker, shares, swingTrade)
structjour/view/unbalancedcontrol.py:45
↓ 1 callers
Method
runFiltersOnQuery
Run sqlalchemy filters on query. The filters that run are determined by contents of the dict self.cud :return: The same query with th
structjour/view/charts/chartdatabase.py:60
↓ 1 callers
Method
runSummary
Populate a DataFrame (self.TheTrade) with all the trade summary information, one row per trade. The information will then populate th
structjour/thetradeobject.py:461
↓ 1 callers
Function
runit
()
main.py:31
↓ 1 callers
Method
saveDictionaries
picklem
structjour/utilities/synchronizesavedstuff.py:223
↓ 1 callers
Method
saveTheTradeObject
(self, name)
structjour/view/layoutforms.py:166
↓ 1 callers
Method
selectSide
Set cud to reflect the last selection in the Side combo box
structjour/view/statisticshubcontrol.py:312
↓ 1 callers
Method
selectStrategy
(self)
structjour/view/statisticshubcontrol.py:246
↓ 1 callers
Method
selectSymbols
Set cud to reflect the latest edits to the Symbol edit
structjour/view/statisticshubcontrol.py:302
↓ 1 callers
Method
selectTag
Set cud to reflect the latest tag selection
structjour/view/statisticshubcontrol.py:322
↓ 1 callers
Method
setActive
:params active: Boolean :params tag_id: Either id or name must be given :params tag_name:
structjour/models/trademodels.py:81
↓ 1 callers
Method
setChart1MA1Color
(self, val)
structjour/view/chartcontrol.py:376
↓ 1 callers
Method
setChart1MA1Spin
(self, val)
structjour/view/chartcontrol.py:379
← previous
next →
501–600 of 1,304, ranked by callers