Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove no existing fields on sg queries #94

Merged
merged 5 commits into from
Jan 15, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix pnl
  • Loading branch information
racso2609 committed Jan 13, 2025
commit 9f434868c2f6d34ac3889cf2ed934917d1415bba
2 changes: 1 addition & 1 deletion src/common/subgraphMapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export const mapResponseToPosition = (response: any): Position | undefined => {
txHash: response?.txHash,
liquidationTxHash: response?.liquidationTxHash,
closingPrice: response?.closingPrice,
realizedPnl: response?.realizedPnl,
realizedPnl: response?.realizedPositionPnl,
realizedFee: response?.realizedFee,
netRealizedPnl: response?.netRealizedPnl,
createdTimestamp: response?.createdTimestamp,
Expand Down
Loading