RealTest User Guide
RealTest User Guide

 

 

Navigation: Realtest Script Language > Syntax Element Details >

MarginIntPct

 

 

 

 

Category

Settings

Description

Interest rate paid for negative daily excess cash (margin loan)

Notes

If the settings also provide a RiskFreeRateSym then MarginIntPct is added to the current daily interest rate as determined by today's value of the risk-free rate series. For example if your broker charges 1.5% more than the fed funds rate for margin loans then specify MarginIntPct: 1.5.

If MarginIntPct is provided when there is no RiskFreeRateSym setting then MarginIntPct is simply the annualized margin interest rate, e.g. MarginIntPct: 6.5.

Daily net interest received or paid is added to combined S.Equity and therefore becomes part of the total return of the backtest.

The stats series S.Interest can be used to graph or reference the cumulative net interest received or paid in the account.

See also CashIntPct which specifies the interest rate received for positive excess cash.

 

 

 

Copyright © 2020-2024 Systematic Solutions, LLC