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:
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/
Create an API key. The API Key is required to link the TSLab trading platform with your Deribit account.
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
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.
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.
![](https://doc.tslab.pro/~gitbook/image?url=https%3A%2F%2F45805883-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MaCiHiFV0s-5gqtvIid-1703796690%252Fuploads%252FuB0tj2vhHoy8nk8kotjr%252Ftsl_deribitSiteMyAcc.png%3Falt%3Dmedia%26token%3Db987b03d-262a-4f84-b33b-758644549117&width=768&dpr=4&quality=100&sign=878738f6&sv=1)
Go to the API section. In the menu that opens, you need to create a new API key. Click the Add New Key button
![](https://doc.tslab.pro/~gitbook/image?url=https%3A%2F%2F45805883-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MaCiHiFV0s-5gqtvIid-1703796690%252Fuploads%252FezIGJmLOEmljWB3i2k7T%252Ftsl_deribitAddAPIKey.png%3Falt%3Dmedia%26token%3D954d8976-81c9-47d7-97fa-88badcb83cfe&width=768&dpr=4&quality=100&sign=65a0b592&sv=1)
Set the API key settings as shown in the image below
![](https://doc.tslab.pro/~gitbook/image?url=https%3A%2F%2F45805883-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MaCiHiFV0s-5gqtvIid-1703796690%252Fuploads%252F1cZsXbjbTY8pLlv5361D%252Ftsl_deribitAPISettings.png%3Falt%3Dmedia%26token%3Db71f84c3-a164-4aaa-aa20-775fb7ebb86b&width=768&dpr=4&quality=100&sign=5159e925&sv=1)
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
![](https://doc.tslab.pro/~gitbook/image?url=https%3A%2F%2F45805883-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MaCiHiFV0s-5gqtvIid-1703796690%252Fuploads%252FBpGEaMpKAs0P262zgSBT%252Ftsl_deribitDataProv.png%3Falt%3Dmedia%26token%3D52833687-045c-4d6e-9978-dcf169b466d1&width=768&dpr=4&quality=100&sign=a5f7eef5&sv=1)
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.
![](https://doc.tslab.pro/~gitbook/image?url=https%3A%2F%2F45805883-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MaCiHiFV0s-5gqtvIid-1703796690%252Fuploads%252FCks2at3ZdWBRptQCC9RX%252Ftsl_deribitDPConfig.png%3Falt%3Dmedia%26token%3D5e7bd4c7-c5c7-4436-840c-ed176fb02ca5&width=768&dpr=4&quality=100&sign=7af0c4f8&sv=1)
Menu item | Description |
---|---|
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.
![](https://doc.tslab.pro/~gitbook/image?url=https%3A%2F%2F45805883-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MaCiHiFV0s-5gqtvIid-1703796690%252Fuploads%252F7zZXMZ0xJAwT0m8PgPUN%252Ftsl_deribitKey.png%3Falt%3Dmedia%26token%3D59abaaa8-ac7d-4bd6-ba5a-a9788446728b&width=768&dpr=4&quality=100&sign=5fbaa273&sv=1)
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.
![](https://doc.tslab.pro/~gitbook/image?url=https%3A%2F%2F45805883-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MaCiHiFV0s-5gqtvIid-1703796690%252Fuploads%252Fbdfn6Hs6eHQNnjHHhpDl%252Ftsl_deribitStart.png%3Falt%3Dmedia%26token%3D2701d8be-fcbf-4f19-bbba-4d60bd4de518&width=768&dpr=4&quality=100&sign=b852fe8c&sv=1)
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