Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
poly-rodr committed May 17, 2024
1 parent 9bc9d5a commit 63656f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ export class ClobClient {
const negRisk = options?.negRisk ?? false;

if (!userMarketOrder.price) {
const marketPrice = await this.getPrice(tokenID, Side.BUY);
const marketPrice = await this.getPrice(tokenID, Side.SELL);
userMarketOrder.price = parseFloat(marketPrice);
}

Expand Down

0 comments on commit 63656f1

Please sign in to comment.