csv.hpp
1#pragma once23#include "itch/book/book.hpp"45#include <string>67namespace itch {89/** Return the CSV header without a newline; optional offsets describe BinaryFILE byte ranges. */10const char* csv_header(bool with_offset = false);11/** Format a book snapshot without a newline; prices use four decimal places. */12std::string csv_line(const Snapshot& snapshot, bool with_offset = false);1314} // namespace itch