Skip to content

Add cache to Stock#99

Open
ghost wants to merge 1 commit intomasterfrom
unknown repository
Open

Add cache to Stock#99
ghost wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Oct 30, 2021

stock = Stock('2330') # 擷取台積電股價

It takes a long tiime to execute the above code, so I added the cache to store the result
Cache files are stored in ~/.twstock

e.g.
~/.twstock/2330

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant