binance: handle new `TRADIFI_PERPETUAL`..

Tyler Goodlet 2025-12-16 16:15:30 -05:00
parent bf2726b066
commit b2447a8fe8
1 changed files with 8 additions and 2 deletions

View File

@ -223,7 +223,10 @@ class FutesPair(Pair):
assert pair == self.pair # sanity
return f'{expiry}'
case 'PERPETUAL':
case (
'PERPETUAL'
| 'TRADIFI_PERPETUAL'
):
return 'PERP'
case '':
@ -252,7 +255,10 @@ class FutesPair(Pair):
margin: str = self.marginAsset
match ctype:
case 'PERPETUAL':
case (
'PERPETUAL'
| 'TRADIFI_PERPETUAL'
):
return f'{margin}M'
case (