ECB key rate

Modified on 2016/07/30 12:25 by Eugene — Categorized as: Community Components

Syntax

public static DataSeries ECBKeyInterestRate.GetECBRateDataSeries(Bars bars)

Parameter Description

barsBars object to sync with

Description

This class downloads and caches the historical DataSeries of the European Central Bank's key rate from http://sdw.ecb.europa.eu.

Example

Image


using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using WealthLab.Indicators;
using Community.Components;
/*** Requires installation of Community.Components Extension from www.wealth-lab.com > Extensions, 2012.10 or later***/

namespace WealthLab.Strategies { public class MyStrategy : WealthScript { protected override void Execute() { DataSeries ecb = ECBKeyInterestRate.GetECBRateDataSeries(Bars); ChartPane ecbPane = CreatePane(30,true,true); PlotSeries(ecbPane, ecb, Color.Blue, LineStyle.Histogram, 5 ); } } }