Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Jul 6, 2019
1 parent 553c516 commit 6a15ee4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyEX/refdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def internationalSymbolsDF(region='', exchange='', token='', version='', filter=
return df


def fxSymbolsDF(token='', version='', filter=''):
def fxSymbolsDF(token='', version=''):
'''This call returns a list of supported currencies and currency pairs.
https://iexcloud.io/docs/api/#fx-symbols
Expand All @@ -460,12 +460,11 @@ def fxSymbolsDF(token='', version='', filter=''):
Args:
token (string); Access token
version (string); API version
filter (string); filters: https://iexcloud.io/docs/api/#filter-results
Returns:
[DataFrame]: results
'''
fx = fxSymbols(token, version, filter)
fx = fxSymbols(token, version)
df1 = pd.DataFrame(fx['currencies'])
df2 = pd.DataFrame(fx['pairs'])
_reindex(df1, 'code')
Expand Down

0 comments on commit 6a15ee4

Please # to comment.