SimpleStockData/example1.py

13 lines
315 B
Python

from SimpleStockData import SimpleStockData
ssd = SimpleStockData(["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))