Files
SimpleStockData/SimpleStockData.py
BlueFox 4a1d24c562 Fixed strange bug when trying to get the history of AZN.L as it was in GBp, not GBP. Also, some refactoring.
The issue was that with some shares, there is a currency with lowercase letters with means they are just a fraction of the all-uppercase equivalent (e.g. with AZN.L: GBp is 1/1000 of GBP). Now this is fixed, and newly discovered lowercase exceptions can be added in the init function by adding it to the currency_exceptions dictionary.
2024-01-19 18:39:01 +01:00

7.9 KiB
Executable File