SimpleStockData/examples/info_and_history_example.py

13 lines
291 B
Python
Raw Normal View History

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))