Log in to see Cloud of Tags

Wealth-Lab Wiki




public static void AdjustIntradayForSplit(this WealthScript ws, string item = "Split (Yahoo! Finance)")

Parameter Description

itemA fundamental item for splits. "Split (Yahoo! Finance)" is by default and can be skipped.


Intraday data (e.g. or IQFeed or AlphaVantage) may intentionally be not split-adjusted to keep the prices as is. If for some reason you prefer the data to be adjusted for splits, see example below.


Having updated the fundamental data, pass on any fundamental item for split instead of default value which is "Split (Yahoo! Finance)". For example, "Split (Wealth-Data)" if you're a W-D user:


Example using C# extension methods:

using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using WealthLab.Indicators;

namespace WealthLab.Strategies { public class AdjustIntradayForSplitDemo : WealthScript { protected override void Execute() { this.AdjustIntradayForSplit("Split (Yahoo! Finance)"); //this.AdjustIntradayForSplit("Split (Wealth-Data)"); } } }

Important Disclaimer: The information provided by Wealth-Lab is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.  The owner of Wealth-Lab.com assumes no liability resulting from the use of the material contained herein for investment purposes. By using this web site, you agree to the terms of this disclaimer and our Terms of Use.

ScrewTurn Wiki. Some of the icons created by FamFamFam.