6 lines
151 B
Python
Executable file
6 lines
151 B
Python
Executable file
#!/usr/bin/python3.8
|
|
|
|
import yfinance as yf
|
|
import sys
|
|
eurzar = yf.Ticker(sys.argv[1])
|
|
print(round(eurzar.history(period="1m").Close.to_list()[0], 4))
|