Brokerages
Setting Up Your Environment
Prerequisites
Working knowledge of C#. You also need to install .NET 6.0.
Set Up Environment
Follow these steps to set up your environment:
- Fork Lean and then clone your forked repository to your local machine.
- Open the Lean.Brokerages.Template repository and click .
- On the Create a new repository from Lean.Brokerages.Template page, set the repository name to Lean.Brokerages.<brokerageName> (for example, Lean.Brokerages.XYZ).
- Click .
- Clone the Lean.Brokerages.<brokerageName> repository.
- If you're on a Linux terminal, in your Lean.Brokerages.<brokerageName> directory, change the access permissions of the bash script.
- In your Lean.Brokerages.<brokerageName> directory, run the renameBrokerage.sh bash script.
$ git clone https://github.com/username/Lean.Brokerages.<brokerageName>.git
$ chmod +x ./renameBrokerage
$ renameBrokerage.sh
The bash script replaces some placeholder text in the Lean.Brokerages.<brokerageName> directory and renames some files according to your brokerage name.