Skip to main content
GET
Get user PnL history

Path Parameters

strategyPubkey
string
required

Public key of the strategy

Example:

"3VXtabCgrd3RYuHa6HisufMfiE4aUk84Hu5quDFhqECD"

walletPubkey
string
required

Wallet address of the user

Example:

"AcNSmd5CxwLs21TYUmhWt7CW2v159TdYRkvQxb1iBYRj"

Query Parameters

env
string
default:mainnet-beta

Solana cluster environment. Defaults to mainnet-beta.

Example:

"mainnet-beta"

Response

OK

strategy
string
required

Public key of the strategy

Example:

"9pMFoVgsG2cNiUCSBEE69iWFN7c1bz9gu9TtPeXkAMTs"

wallet
string
required

Wallet address of the user

Example:

"9pMFoVgsG2cNiUCSBEE69iWFN7c1bz9gu9TtPeXkAMTs"

totalPnl
object
required
totalCostBasis
object
required
history
object[]
required

Time-series PnL snapshots