Skip to main content

PortfolioCurrencyHealth

The bots that share one stake currency, aggregated.

type PortfolioCurrencyHealth {
currency: String!
botCount: Int!
openPositions: Int!
exposure: Float!
openPnl: Float!
realizedPnl: Float!
maxDrawdown: Float!
currentDrawdown: Float!
pairs: [PortfolioPairExposure!]!
topPairPct: Float!
hhi: Float!
}

Fields​

PortfolioCurrencyHealth.currency ● String! non-null scalar​

PortfolioCurrencyHealth.botCount ● Int! non-null scalar​

PortfolioCurrencyHealth.openPositions ● Int! non-null scalar​

PortfolioCurrencyHealth.exposure ● Float! non-null scalar​

Sum of the open trades' stake.

PortfolioCurrencyHealth.openPnl ● Float! non-null scalar​

Sum of the open trades' unrealized profit.

PortfolioCurrencyHealth.realizedPnl ● Float! non-null scalar​

Sum of the profit of trades closed in the window.

PortfolioCurrencyHealth.maxDrawdown ● Float! non-null scalar​

Worst peak-to-trough fall of the cumulative realized PnL over the window. Unit: amount, in the currency of the row.

PortfolioCurrencyHealth.currentDrawdown ● Float! non-null scalar​

The realized curve's peak minus realized-now plus open PnL, floored at zero. Unit: amount, in the currency of the row.

PortfolioCurrencyHealth.pairs ● [PortfolioPairExposure!]! non-null object​

Open stake by pair, largest first.

PortfolioCurrencyHealth.topPairPct ● Float! non-null scalar​

The largest pair's share of the exposure. Unit: percent 0..100 (5 = 5%).

PortfolioCurrencyHealth.hhi ● Float! non-null scalar​

Herfindahl-Hirschman index of the pair shares, 0-1 (1 is a single pair).

Member Of​

PortfolioHealth object