• This repository has been archived on 25/Nov/2021
  • Stars
    star
    154
  • Rank 241,163 (Top 5 %)
  • Language
    C#
  • Created almost 5 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Libraries for connecting to the Bybit API.

NOTICE: the api-connectors in this repository are out-of-date. For recommendations of alternatives, please come to our API Telegram group.

api-connectors

Libraries for connecting to the Bybit API. https://bybit-exchange.github.io/docs/inverse

Official Examples

Encryption

HTTP

Websockets

Auto-Generated Languages

Clients:

Note : The auto-generated code do not contains signature algorithm, you can refer to our example to generate the sign value. In Java SDKs, you should do like this:

ApiKeyAuth apiKey = (ApiKeyAuth)client.getAuthentication("apiKey");
ApiKeyAuth sign = (ApiKeyAuth)client.getAuthentication("apiSignature");
ApiKeyAuth timestamp = (ApiKeyAuth)client.getAuthentication("timestamp";
apiKey.setApiKey("YOUR API KEY");
timestamp.setApiKey(String.valueOf(System.currentTimeMillis()/1000));
String signature = generateSign(paramStr);
sign.setApiKey(signature);

generateSign is a method that you need to implement yourself!