Projects

Code Sessions

Introduction

Code sessions let you access the remote IDE to research and develop trading algorithms. An environment is everything that's installed on a machine where a program is executing. When you open a project, a new code session starts running with the latest master branch of the LEAN trading engine.

View Code Sessions

The Projects page displays all of your running code sessions in your current organization. To view the page, log in to the Algorithm Lab and then, in the left navigation menu, click Projects.

To open one of the code sessions, click the project name.

To stop the code sessions, click the stop icon next to a project name. If you log out, the code sessions don't automatically stop.

The left navigation bar of the Algorithm Lab also shows the running code sessions underneath Projects. The blue code session represents the session that's currently open. The gray code sessions represent the sessions that are currently minimized.

Code Session Quotas

If you have a project open, it uses a coding session. Your account can have up to one coding session across all of your free organizations. If you connect as a paid organization, your account can have multiple active coding sessions. The following table shows how many active coding sessions you can have on each organization tier:

TierInitial Coding Session Quota
Quant Researcher2
Team4
Trading Firm8
Institution16

If the organization you're in has more live trading nodes than your initial coding session quota, then your coding session quota increases to the number of live trading nodes you have in the organization.

The quota for free organizations is a global quota, so you can have one active coding session across all of your free organizations. The quotas for paid organizations are at the organization level. Therefore, if you are in two Quant Researcher organizations, you can have two active coding sessions in one of those organizations and another two active sessions in the other organization. These paid tier quotas are for each account, not for the organization as a whole. For instance, a Trading Firm organization can have more than eight members and all of the members can simultaneously work on projects within the organization.

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: