This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am aphi on github. | |
* I am aphi (https://keybase.io/aphi) on keybase. | |
* I have a public key ASB0UiGiljCguTjogXtu1bLtonn-_0KGzXMa13LB_9SGugo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Extract data from Investing.com for use within investpy | |
Output is comma-separated and can be copied directly into stocks.csv to add missing stocks | |
$ python search_investing_urls.py | |
country,name,full_name,tag,isin,id,currency,symbol | |
united states,Airbnb,Airbnb,airbnb-inc,US0090661010,1167744,USD,ABNB | |
united kingdom,Deliveroo Holdings,Deliveroo Holdings PLC,deliveroo-holdings,GB00BNC5T391,1172028,GBP,ROO | |
united states,Nio A ADR,Nio Inc Class A ADR,nio-inc,US62914V1061,1096032,USD,NIO | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Outputs: | |
Time taken to solve: 10.0589 | |
__getitem__ method for 134322 vars: 162.8729 | |
Copy-first method for 134322 vars: 0.0042 | |
""" | |
import highspy |