Skip to content

Commit

Permalink
Better estimated PnL calc (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipzeta authored Aug 21, 2023
1 parent 86e9972 commit 4daa0c0
Show file tree
Hide file tree
Showing 5 changed files with 468 additions and 398 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ Version changes are pinned to SDK releases.

## Unreleased

## [1.6.1] 2023-08-09

- getMaxTradeSize() now simulates all positions and orders correctly. ([#256](https://github.com/zetamarkets/sdk/pull/256))

## [1.6.0] 2023-07-25

- Add getMaxTradeSize() and getLiquidationPrice() to risk calcs. ([#252](https://github.com/zetamarkets/sdk/pull/252))
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zetamarkets/sdk",
"repository": "https://github.com/zetamarkets/sdk/",
"version": "1.6.0",
"version": "1.6.1",
"description": "Zeta SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -21,7 +21,8 @@
"lodash": "^4.17.21",
"ts-node": "^10.7.0",
"typescript": "^4.4.2",
"cross-fetch": "^3.1.6"
"cross-fetch": "^3.1.6",
"lodash.clonedeep": "^4.5.0"
},
"devDependencies": {
"@types/mocha": "^9.0.0",
Expand Down
Loading

0 comments on commit 4daa0c0

Please sign in to comment.