Skip to content

Commit

Permalink
fix: minor naming
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-angjelkoski committed Nov 12, 2024
1 parent f200143 commit 9f679e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default class ExecArgCreateSpotGridStrategy extends ExecArgBase<
const strategyType =
params.trailingArithmetic && trailingBounds
? params.trailingArithmetic.lpMode
? { trailing_arithmetic_lp: trailingBounds }
? { trailing_arithmetic_l_p: trailingBounds }
: { trailing_arithmetic: trailingBounds }
: params.strategyType ?? StrategyType.Arithmetic

Expand Down
4 changes: 2 additions & 2 deletions packages/sdk-ts/src/core/modules/wasm/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export enum ExitType {

export enum StrategyType {
Arithmetic = 'arithmetic',
ArithmeticLP = 'arithmetic_lp',
ArithmeticLP = 'arithmetic_l_p',
Geometric = 'geometric',
}

Expand All @@ -18,7 +18,7 @@ export type TrailingArithmetic = {
}

export type TrailingArithmeticLP = {
trailing_arithmetic_lp: {
trailing_arithmetic_l_p: {
lower_trailing_bound: string
upper_trailing_bound: string
}
Expand Down

0 comments on commit 9f679e2

Please sign in to comment.