GetInterestRate

GetInterestRate ();

Description

Returns the global interest rate. This function cannot be used in Study Filters.

Example

declare lower;
input loan = 1000;
plot Charge = loan * GetInterestRate();
AddLabel(yes, "Interest Rate: " + GetInterestRate() * 100);

This example draws a charge for the loan at the current interest rate displayed in the chart label.

You may also like
OptionRho
Option Rho is a hedge parameter, one of the so-called Greeks. It measures sensitivity of option ...
GetAggregationPeriod
The GetAggregationPeriod function returns the current aggregation period in milliseconds for ...
GetPriceType
Returns the price type selected for the current symbol: "Last", "Bid", "Ask", or "Mark". Note ...