FTX oracle no longer tries to interfere with PERP market names.
This commit is contained in:
parent
1f5a3cf4bb
commit
53207d1d98
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue