IPOData

Modified on 2019/11/13 12:34 by Eugene — Categorized as: Community Components

Syntax

public IPOData

public DateTime Date; public string Symbol; public string CompanyName; public string Underwriter; //not used since v2018.09 public double OfferPrice; //not used since v2018.09


public IPODataList

public void IPODataList.Serialize() public static void IPODataList.DeSerialize() public void IPODataList.BuildIPOList(int year) public IPOData FindSymbol(string symbol)


Parameter Description

yearStarting year for building the IPO database. Can't be earlier than 1997 (no data available).
symbolAny valid U.S. stock symbol

Description

Builds an IPO database using Nasdaq as the data source. Call BuildIPOList with a year (since 1997) to build the IPO database, then call Serialize to permanently cache the data in an XML file in Wealth-Lab's AppData directory. On the first call, there's a slight delay while IPO data is downloaded from the data feed. Subsequent calls are instant provided that a cache exists (see below).

An instance of the IPOData class contains the following properties for U.S. IPOs: symbol, company name, underwriter, offer date, and offer price. Before calling the FindSymbol method with a stock symbol to return an instance of IPOData, call DeSerialize to avoid delays caused by refreshing the data from the internet.

Note: The fields underwriter and offer price are no longer used since v2018.09. They were provided by previous data source 123jump.com before its demise. Now the fields are only left for backward compatibility.

Example

From Wealth-Lab's "Open Strategy" dialog (hit Ctrl-O), click "Download" to download all available Strategies. Open the "IPO Buy Strategy [Rev.A]".