mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-02 23:16:51 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user