Commit Graph

11 Commits

Author SHA1 Message Date
29035e4765
Fixed bad issue with the short program description in the license notices description 2024-01-19 20:32:13 +01:00
0ea5f2a500
Changed license from Unlicense to GPLv3. New minor release coming. 2024-01-19 20:23:52 +01:00
9be1b992e6
Added some docs about using SimpleStockData as a library. Some small refactorings. 2024-01-19 20:20:02 +01:00
7837d0ee40
Fixed wrong conversion factor from GBp to GBP. NOW WORKING :) 2024-01-19 18:53:37 +01:00
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
1d731eec10
example1.py now demonstrating basic capabilities. 2024-01-17 22:33:15 +01:00
9dff170bb7
Got things to work finally.
Still things to do (one bug discovered, see TODOs)
2024-01-17 22:30:05 +01:00
62cbceba6f NOT FINISHED (but working so far). End of workflow. Coming back tomorrow (hopefully). 2023-11-30 22:09:28 +01:00
baf6614491 Now using the new method (renamed to _create_exchange_dataframe).
Also, some optimizations and fixes were added.
2023-11-30 21:28:15 +01:00
ac87844b9b Implemented _generate_exchange_dataframe creating or updating an internal conversion table. 2023-11-30 20:50:49 +01:00
51a9d8d673 Implemented first wrappers: get_info and _get_history for Ticker.info and Ticker.history() 2023-11-26 22:15:11 +01:00