Forex

Getting foreign exchange information.

class finvizfinance.forex.Forex

Getting information from the finviz forex page.

chart(forex, timeframe='D', urlonly=False)

Get forex chart.

Parameters:
  • forex (str) – foreign exchange name
  • timeframe (str) – choice of timeframe(5M, H, D, W, M)
  • urlonly (bool) – choice of downloading charts, default: downloading chart
Returns:

url for the chart

Return type:

charturl(str)

performance(change='percent')

Get forex performance table.

Parameters:change (str) – choose an option of change(percent, PIPS)
Returns:forex performance table
Return type:df(pandas.DataFrame)