Skip to content

Commit

Permalink
FairMarket = Won
Browse files Browse the repository at this point in the history
  • Loading branch information
gloriousCode committed Feb 28, 2022
1 parent dd5e5a2 commit bd73beb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exchanges/ftx/ftx_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -1339,6 +1339,7 @@ func (f *FTX) ScaleCollateral(ctx context.Context, subAccount string, calc *orde
// FTX bases scales all collateral into USD amounts
result.CollateralContribution = calc.FreeCollateral
result.Weighting = decimal.NewFromInt(1)
result.FairMarketValue = decimal.NewFromInt(1)
return result, nil
}
result.ScaledCurrency = currency.USD
Expand Down

0 comments on commit bd73beb

Please sign in to comment.