just getting prices from fxconnect
pip install -U jgtfxcon
>>> import pandas as pd
>>> import jgtfxcon
>>> df=jgtfxcon.getPH('EUR/USD','H4')
>>>
>>> # retrieve 3000 periods and generate from the DF
>>> df=jgtfxcon.getPH('EUR/USD','H4',3000,with_index=False)
>>> dfi=jgtfxcon.createFromDF(df)
>>>
jgtfxcli -i "SPX500" -t "H1,H4,H8,D1,W1,M1" -c 500 -l "22101313"
$JGTPY_DATA/pds NORMAL
$JGTPY_DATA/pdl/ L Item