Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
chore: disable api account configuration (#156)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastien Verreault <sebver@pm.me>
  • Loading branch information
sebastienverreault and Sebastien Verreault authored Jan 5, 2023
1 parent d15d512 commit 12cf21d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dealer/src/OkexPerpetualSwapStrategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ export class OkexPerpetualSwapStrategy implements HedgingStrategy {
this.instrumentId = this.exchangeConfig.instrumentId
this.logger = logger.child({ class: OkexPerpetualSwapStrategy.name })

if (!this.isSimulation) {
this.exchange.setAccountConfiguration()
}
// disable api account configuration, to do manually
// if (!this.isSimulation) {
// this.exchange.setAccountConfiguration()
// }
}

public async getBtcSpotPriceInUsd(): Promise<Result<number>> {
Expand Down

0 comments on commit 12cf21d

Please sign in to comment.