Forex¶
Getting foreign exchange information.
-
class
finvizfinance.forex.
Forex
(screener_table_index=5)¶ Getting information from the finviz forex page. :Parameters: screener_table_index (int) – table index of the stock screener. change only if change on finviz side.
-
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)
-