Skip to main content

Module portfolio

Module portfolio 

Expand description

The portfolio: positions and the balances of the wallet.

Functions§

balance
The balance of one coin.
balances
The balances of the coins that hold anything.
portfolio
The whole portfolio.
position
A position. The quantity is signed: a short position is negative.
positions
The open positions (a size of zero is no position).