top of page

Market Research Group

Public·30 members
Colton Taylor
Colton Taylor

MetaLib .NET V5.0: The Ultimate API for MetaStock Data Manipulation



MetaLib .NET V5.0 - API for reading writing MetaStock data full version




If you are a software developer who wants to create powerful add-on modules for MetaStock users, you need a reliable and flexible API for reading and writing MetaStock data. MetaLib .NET V5.0 is the perfect solution for you.




MetaLib .NET V5.0 - API for reading writing MetaStock data full version



MetaLib .NET V5.0 is a software development kit (SDK) that includes functions for reading, writing, editing, inserting, sorting and deleting MetaStock price data. It supports the latest MetaStock format version 11.0 and can handle up to 65,500 price data records per security.


With MetaLib .NET V5.0, you can access MetaStock data files from your program without any complexities. You can also convert MetaStock data directly into Excel spreadsheets, search for security name/symbols on your hard disk, and use any programming language that supports .NET assemblies.


Why choose MetaLib .NET V5.0?




MetaLib .NET V5.0 has many advantages over other APIs for MetaStock data. Here are some of them:


  • It is easy to use and integrate into your project. You only need to add a reference to the MetaLib.dll file and use the MetaLib namespace in your code.



  • It is fast and efficient. It can convert 2000 trading days (around 3000 calendar days) of stock data into Excel within a few seconds.



  • It is compatible and flexible. It supports Visual Basic .NET, C++ .NET, C# .NET or any other programming language supporting .NET assemblies. It also supports different periodicities and intervals of MetaStock data.



  • It is comprehensive and powerful. It includes functions for reading, writing, editing, inserting, sorting and deleting MetaStock price data. You can manipulate MetaStock data in any way you want.



  • It is updated and supported. It supports the latest MetaStock format version 11.0 and is regularly updated with bug fixes and new features.



How to use MetaLib .NET V5.0?




To use MetaLib .NET V5.0, you need to download the SDK from the official website and install it on your computer. You will get a license key that you need to enter in your code to activate the API.


Then, you can start using the API in your project by adding a reference to the MetaLib.dll file and using the MetaLib namespace in your code.


The API consists of two main classes: MetaLib and Security. The MetaLib class represents a MetaStock directory that contains one or more securities. The Security class represents a single security that contains one or more price records.


You can use the methods and properties of these classes to perform various operations on MetaStock data, such as opening, closing, reading, writing, editing, inserting, sorting and deleting.


Here are some examples of how to use MetaLib .NET V5.0 in C#:


// Create a new instance of the MetaLib class


MetaLib m = new MetaLib();


// Enter your license key


m.LicenseKey = "Your license key here";


// Open a MetaStock directory


m.OpenDirectory("C:\\MetaStock", System.IO.FileAccess.ReadWrite);


// Get the number of securities in the directory


int nrSec = m.Securities.Count;


// Loop through all securities in the directory


for (int i = 0; i < nrSec; i++)


// Open a security


m.OpenSecurity(m.Securities[i]);


// Get the name and symbol of the security


string name = m.Securities[i].Name;


string symbol = m.Securities[i].Symbol;


// Get the start date and last date of the security


MLDate startDate = m.Securities[i].StartDate;


MLDate lastDate = m.Securities[i].LastDate;


// Get the periodicity and interval of the security


Periodicity periodicity = m.Securities[i].Periodicity;


int interval = m.Securities[i].Interval;


// Loop through all price records of the security


while (m.PriceRecordsLeft > 0)



// Read a price record


PriceRecord pr = m.ReadPriceRecord();


// Get the date, open, high, low, close, volume and open interest of the price record


MLDate date = pr.Date;


double open = pr.Open;


double high = pr.High;


double low = pr.Low;


double close = pr.Close;


int volume = pr.Volume;


int openInterest = pr.OpenInterest;


// Do something with the price record


// For example, print it to the console


Console.WriteLine(date.MLDate + ", " + open + ", " + high + ", " + low + ", " + close + ", " + volume + ", " + openInterest);



// Close the security


m.CloseSecurity();


// Close the directory


m.CloseDirectory();


Where to get more information?




If you want to learn more about MetaLib .NET V5.0, you can visit the official website at http://www.trading-tools.com/metalib-api-reading-writing-metaStock-data.