Added some docs about using SimpleStockData as a library. Some small refactorings.

This commit is contained in:
2024-01-19 20:20:02 +01:00
parent 273b2010d7
commit 9be1b992e6
3 changed files with 36 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
from SimpleStockData import SSD
ssd = SSD(["RHM.DE", "BAS.DE", "AZN.L"], "2024-01-02", "2024-01-18", "EUR")
print(ssd.get_info(0))
print(ssd.get_history(0))
print("\n---\n")
print(ssd.get_info(1))
print(ssd.get_history(1))
print("\n---\n")
print(ssd.get_info(2))
print(ssd.get_history(2))