# How to use Mida with Bybit

A Bybit account is required to get started (create a Bybit account (opens new window)).

# Login

How to login into a Bybit Futures account.

import { login, } from "@reiryoku/mida";

const myAccount = await login("Bybit/Futures", {
    apiKey: "...",
    apiSecret: "...",

# API key & secret

The apiKey and apiSecrect credentials are required to use Mida with a Bybit account, the credentials can be easily generated from the Bybit website.

  1. Create a Bybit account (opens new window) if you don't have one
  2. Visit Bybit (opens new window) and login
  3. Open "API" from your profile menu
  4. Use "Create New Key" to generate the credentials

At this point it's possible to use Mida with the authorized Bybit account.

# Node.js Bybit API

The Bybit Spot & Futures API is fully supported by Mida and can be used through Node.js/JavaScript or other programming languages, read the documentation for more examples.

# Something is not working?

Create an issue (opens new window) on GitHub if something is not working as expected.