Generate CSV bindings with Coder
Coder turns data from CSV files into source code mappings that you can plug in your program. It's easy to use and can save you time when working on programming projects.
/*
* C# version: 10 and above
* GENERATED AT: 2023-09-24 12:36:19.154173 by Auto
* VISIT https://coder.farawaytech.com for more information
*/
using System;
using System.Linq;
using System.Collections.Immutable;
using System.Globalization;
using System.ComponentModel;
using CsvHelper.Configuration;
using CsvHelper.Configuration.Attributes;
#nullable enable
namespace csv;
public readonly record struct CsvRecord {
[Name("SECURITIES")]
public readonly string Securities { get; init; }
[Name("ERROR CODE")]
public readonly ErrorCode ErrorCode { get; init; }
[Name("NUM FLDS")]
public readonly NumFlds NumFlds { get; init; }
[Name("UNDL_SPOT_TICKER")]
public readonly string? UndlSpotTicker { get; init; }
[Name("EXCH_CODE")]
public readonly string ExchCode { get; init; }
[Name("TICKER")]
public readonly string Ticker { get; init; }
[Name("MARKET_SECTOR_DES")]
public readonly MarketSector MarketSector { get; init; }
Features
Language support
Coder supports C# as a target language and CsvHelper mappings at the moment. We are working on adding other languages. Out next priorities are Python, Java and Kotlin.
Financial industry
Our focus is on data formats from financial industry. We plan to support more specific CSV fields from Bloomberg, Refinitiv, and similar sources.
Customization PAID
Change type of any field and disable/enable them. Keep your configs for the future reference.
.NET/C# versions
We support .NET 5 and 6 as target versions, plus C# 9 and 10 as language versions.
No ChatGPT
Our code templates are written 100% by humans, thoroughly tested, and we are ready to help if something doesn't work as expected.
Unit tests PAID
Writing unit test is tedious. We provide sample serialization/deserialization unit test example together with our mappings.