Skip navigation links

Package tech.nmfin.returns

Converting price changes to absolute, simple, or logarithmic returns.

See: Description

Package tech.nmfin.returns Description

Converting price changes to absolute, simple, or logarithmic returns.

ReturnsCalculators has an example for computing a return and reconstructing the ending price. Simple returns are fractions, not percentages; logarithmic returns use natural logarithms. Use one convention consistently and keep price units and sampling intervals consistent.

Skip navigation links

Copyright © 2010-2026 NM Group. All Rights Reserved.