FTX oracle no longer tries to interfere with PERP market names.

This commit is contained in:
Geoff Taylor 2021-09-06 19:26:45 +01:00
parent 1f5a3cf4bb
commit 53207d1d98
1 changed files with 1 additions and 3 deletions

View File

@ -134,6 +134,4 @@ class FtxOracleProvider(OracleProvider):
def _market_symbol_to_ftx_symbol(self, symbol: str) -> str:
normalised = symbol.upper()
fixed_usdc = re.sub("USDC$", "USD", normalised)
fixed_perp = re.sub("\\-PERP$", "/USD", fixed_usdc)
return fixed_perp
return re.sub("USDC$", "USD", normalised)