Skip to content

Commit

Permalink
remove logger import
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredvu committed Jun 17, 2024
1 parent 95c5ec0 commit f7ff757
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ import exchange.dydx.abacus.calculator.SlippageConstants.TAKE_PROFIT_MARKET_ORDE
import exchange.dydx.abacus.output.input.MarginMode
import exchange.dydx.abacus.protocols.ParserProtocol
import exchange.dydx.abacus.state.manager.EnvironmentFeatureFlags
import exchange.dydx.abacus.utils.Logger
import exchange.dydx.abacus.utils.NUM_PARENT_SUBACCOUNTS
import exchange.dydx.abacus.utils.Numeric
import exchange.dydx.abacus.utils.QUANTUM_MULTIPLIER
import exchange.dydx.abacus.utils.Rounder
import exchange.dydx.abacus.utils.mutable
import exchange.dydx.abacus.utils.mutableMapOf
import exchange.dydx.abacus.utils.safeSet
import exchange.dydx.abacus.utils.toJsonElement
import kollections.JsExport
import kotlinx.serialization.Serializable
import kotlin.math.abs
Expand Down Expand Up @@ -83,8 +81,6 @@ internal class TradeInputCalculator(
val type = parser.asString(trade?.get("type"))
val market = if (marketId != null) parser.asNativeMap(markets?.get(marketId)) else null
val feeTiers = parser.asNativeList(parser.value(state, "configs.feeTiers"))
val equityTiers = parser.asNativeMap(parser.value(state, "configs.equityTiers"))
Logger.e { "equityTiers, ${equityTiers.toJsonElement()}" }

return if (trade != null && type != null) {
val isBuying = isBuying(trade)
Expand Down

0 comments on commit f7ff757

Please sign in to comment.