Purpose

Convert Sierra Chart .depth files to csv text files.

These can then be used for research purposes.

SC Depth Files

SC depth files include a log of Market Depth activity. Its basically a record of Limit Order Book (LOB) order changes over time.

These depth files are binary format - https://www.sierrachart.com/index.php?page=doc/MarketDepthDataFileFormat.html#DataStructures

See here for more on how to obtain these files: Sierra Chart Market Depth Historical Graph

Download

Command line

sc_market_depth_converter.exe export <input> <output> <all|nrows>

sc_market_depth_converter.exe count <input>

Commands

count - prints the number of rows in the file

export - exports the records to a text file

Example 1 - get the number of records

sc_market_depth_converter.exe count my_file.depth

Example 2 - export all rows

sc_market_depth_converter.exe export my_file.depth out.txt all

Example 3 - export 1000 records

sc_market_depth_converter.exe export my_file.depth out.txt 1000

Example session

File format

Most of the columns are self explanatory.

Command is a number from 0-7

https://vimeo.com/767111385