exchanges: Remove FTX implementation and fix minor test issues (#1100)

* exchanges: Start removal of FTX

* Get tests happy again

* okx: improve logic and add basic coverage

* Fix linterino

* Round 2 plus rm useless assignment in test

* Fix exchange_wrapper_issues test error

* Fix nitters

* Address nitters
This commit is contained in:
Adrian Gallagher
2023-01-25 16:40:04 +11:00
committed by GitHub
parent 05558aabfb
commit c785ae73a7
57 changed files with 211 additions and 9661 deletions

View File

@@ -87,7 +87,7 @@ type CollateralByPosition struct {
// CollateralByCurrency individual collateral contribution
// along with what the potentially scaled collateral
// currency it is represented as
// eg in FTX ScaledCurrency is USD
// eg in Bybit ScaledCurrency is USDC
type CollateralByCurrency struct {
Currency currency.Code
SkipContribution bool
@@ -222,7 +222,7 @@ type TotalCollateralCalculator struct {
// CollateralCalculator is used to determine
// the size of collateral holdings for an exchange
// eg on FTX, the collateral is scaled depending on what
// eg on Bybit, the collateral is scaled depending on what
// currency it is
type CollateralCalculator struct {
CalculateOffline bool