Skip to main content
Module

x/exchange_connectors/mod-bybit.ts>IExchangeConnector

Exchange Connectors supporting the emergence of perfect markets
Latest
interface IExchangeConnector
Re-export
import { type IExchangeConnector } from "https://deno.land/x/exchange_connectors@v2.1.0/mod-bybit.ts";

Methods

getAccountId(): string
getPositions(): Promise<any>
getFuturesAccountData(): Promise<any>
transferUSDT(
fromAccountType: string,
toAccountType: string,
amount: number,
coin: string,
transferId: string,
): Promise<any>
setLeverage(symbol: string, leverage: number): Promise<void>
buyFuture(
pair: string,
amount: number,
reduceOnly: boolean,
): Promise<any>
sellFuture(
pair: string,
amount: number,
reduceOnly: boolean,
): Promise<any>