Contributing Datasets
Setting Up Your Environment
Prerequisites
Working knowledge of C#. You also need to install .NET 6.0 Runtime and initialize the LEAN CLI.
Create Data Source Repository
Follow these steps to create a repository for your dataset:
- Open the Lean.DataSource.SDK repository and click .
- On the Create a new repository from Lean.DataSource.SDK page, set the repository name to Lean.DataSource.<vendorNameDatasetName> (for example, Lean.DataSource.XYZAirlineTicketSales).
- Click .
- Clone the Lean.DataSource.<vendorNameDatasetName> repository.
- If you're on a Linux terminal, in your Lean.DataSource.<vendorNameDatasetName> directory, change the access permissions of the bash script.
- In your Lean.DataSource.<vendorNameDatasetName> directory, run the renameDataset.sh bash script.
Start with the SDK repository instead of existing data source implementations because we periodically update the SDK repository.
$ git clone https://github.com/username/Lean.DataSource.<vendorNameDatasetName>.git
$ chmod +x ./renameDataset
$ renameDataset.sh
The bash script replaces some placeholder text in the Lean.DataSource.<vendorNameDatasetName> directory and renames some files according to your dataset's <vendorNameDatasetName>.