-
Notifications
You must be signed in to change notification settings - Fork 6
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
totalInvestedValue and totalAssetSize #3
Comments
openLongOrder(if the orders match and position is created) Nex-Dex-Contracts/contracts/Exchange.sol Line 303 in a6a9d39
openShortOrder(if the orders matchand position is created) Nex-Dex-Contracts/contracts/Exchange.sol Line 359 in a6a9d39
closeLongPosition Nex-Dex-Contracts/contracts/Exchange.sol Line 395 in e88a1ca
closeShortPosition Nex-Dex-Contracts/contracts/Exchange.sol Line 429 in e88a1ca
hardLiquidate(by close pistions total invested value changes) Nex-Dex-Contracts/contracts/Exchange.sol Line 546 in e88a1ca
partialLiquidate(by close pistions total invested value changes) Nex-Dex-Contracts/contracts/Exchange.sol Line 524 in e88a1ca
|
this was a difficult one, but I think you did great |
Can you track the totalInvestedValue and totalAssetSize after each moment of change (trade/liquidation etc.)? -> usually where you currently track PNL.
The text was updated successfully, but these errors were encountered: