Check Position & NAV
Your Position
// Share balance
const userSharesAta = await getAssociatedTokenAddress(shareMint, wallet.publicKey);
const shareBalance = await connection.getTokenAccountBalance(userSharesAta);
console.log("Your shares:", shareBalance.value.uiAmount);
// Position history
const [userPosition] = PublicKey.findProgramAddressSync(
[Buffer.from("user_position"), fundId.toArrayLike(Buffer, "le", 8), wallet.publicKey.toBuffer()],
program.programId
);
const position = await program.account.userPosition.fetch(userPosition);
console.log("Total deposited:", position.totalDepositedUsdc.toNumber() / 1e6, "USDC");
console.log("Total withdrawn:", position.totalWithdrawnUsdc.toNumber() / 1e6, "USDC");Fund NAV
Keystone Alpha Fund
Keystone Neutral Fund
Share Price
Profit / Loss
Fund Stats
Keystone Alpha Fund
Keystone Neutral Fund
Keystone Defense Fund
CLI
Last updated