Skip to content

Commit

Permalink
fix: fix futures_gfex_position_rank
Browse files Browse the repository at this point in the history
  • Loading branch information
albertandking committed May 19, 2024
1 parent 043589f commit 3e64e39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions akshare/futures/cot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1313,15 +1313,15 @@ def futures_gfex_position_rank(date: str = "20231113", vars_list: list = None):
symbol=item.lower(), date=date
)
except: # noqa: E722
return pd.DataFrame()
return {}
for name in futures_contract_list:
try:
temp_df = __futures_gfex_contract_data(
symbol=item.lower(), contract_id=name, date=date
)
big_dict[name] = temp_df
except: # noqa: E722
return pd.DataFrame()
return {}
return big_dict


Expand Down

0 comments on commit 3e64e39

Please sign in to comment.