Page cover image

Deribit Cryptocurrency Exchange

Deribit Exchange is a professional cryptocurrency options and futures trading platform.

Attention! A powerful computer is required to work with options!

Attention! If you expect breaks in work, then it is not recommended to build strategies on tick or second charts.

Connection to the Deribit exchange

In order to access the trading servers of the Deribit exchange through the TSLab platform, you need to:

  1. Open an account on the Deribit exchange. Detailed information on the terms of service and tariffs can be found on the official website of the Deribit exchange: https://www.deribit.com/

  2. Create an API key. The API Key is required to link the TSLab trading platform with your Deribit account.

  3. Download and install the TSLab trading platform. You can download the latest version of the TSLab program by clicking on the link: https://www.tslab.pro/download

  4. Subscribe to the Deribit Data Provider. To subscribe, you need to register on the TSLab website. In the User's Cabinet, open the Store section. Select Deribit Data Provider and subscribe.

  5. Set up a Data Provider. To connect to the trading servers of the Deribit exchange, you need to configure the data provider in the TSLab program

Registration on the Deribit exchange website. Creating an API key

Register an account on the Deribit exchange website:

Open the account settings menu located in the upper right corner. Select My Account.

Go to the API section. In the menu that opens, you need to create a new API key. Click the Add New Key button

Set the API key settings as shown in the image below

After the new keys have been created, the Client ID (Client ID) and Client Secret (Client Secret) will be available to you. This data will be required to issue a license key in the TSLab personal account, as well as when setting up the Deribit data provider in the program itself

Installing the TSLab program

Download and install the TSLab program on your computer:

You can read more about the TSLab installation process in the TSLab Installation section.

Note! TSLab program supports Windows operating system. TSLab requires Microsoft .NET 6 to work

Creating and configuring the Deribit data provider in the TSLab

Please watch the video from our partners, which describes the process of creating and configuring the Deribit data provider step by step

Adding a new Deribit data provider

To get started with TSLab, you need to select a data provider.

Method №1

Open the Providers window. In the Main Menu, select Data - Data Providers

Click on the Add button

Select Online data and click Next

Method №2

In the Main Menu, select Data - Add online data provider

Note. You can also load Historical data into the program. You can read more about working with Historical data in the section Historical data

Select the Deribit data provider from the list and give it a name under which it will be saved in your list of providers. Click on the Next button

Deribit data provider settings

In the Data provider settings, you need to enter the Client ID (API Public) and API Secret created in the Personal Account on the Deribit exchange website.

Menu itemDescription

Max of requested trades

The number of requested trades in one request. The default is 50000.

Use local time

It is advisable to set local time in cases where several data providers are connected to the program.

Use PostOnly orders

Optional. Additional exchange settings.

Cache settings

For canceled applications 7 days, you can set less.

If you are connecting a test circuit of the exchange, change the URL:

  • By default, the program connects to the trading server https://www.deribit.com

  • Test circuit https://test.deribit.com

Please pay attention! The Client ID for the test server is different from the Client ID for the main trading server

Starting from version 2.1 of the program, we calculate all indicators of scripts and agents in bitcoins. In addition to MFE and MAE for the correct calculation of stop losses in scripts. Enabled "Initial deposit" support in portfolio simulation in agents (script properties).

Entering a license key for the Deribit Data Provider

In the Data Providers window, select the created data provider and click the Key button.

Enter the key created in your TSLab personal account (TSLab Personal Account - Contracts) and click the OK button.

After the key is entered, you will be able to access the button to launch the data provider in the Operation column. Click the button to establish a connection.

The program will inform you about the connection status in the Data Providers window:

  • red color of the button means an error in establishing connection,

  • yellow color means that the connection is in progress,

  • green color means that connections have been established and you can carry out trading operations.

Check the box in the Status bar column to activate the slider button in the Status bar. The color of the slider button in the Status bar also informs you about the connection status.

Using the Schedule manager menu, you can configure the automatic start of the data provider on the day and time you specify.

Note. To start the data provider automatically, the TSLab application must be running.

To configure the automatic start of the provider, click on the button with three dots in the Schedule manager column.

In the Edit Schedule window that opens, fill in the data for the provider's automatic launch schedule. Click on the OK button

To start the created schedule, in the Providers window, move the Schedule manager slider to the extreme right position. In this case, manual control of the launch of the data provider will be blocked.

Last updated