Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KingBot

Typescript doesn't support multiple inheritance so we extend linearly

Hierarchy

Index

Constructors

constructor

Properties

Protected checkProfits

checkProfits: Function

Protected createOrders

createOrders: Function

createOrdersFromTelegram

createOrdersFromTelegram: Function

Protected createOrdersFromTip

createOrdersFromTip: Function

Protected createOrdersHedge

createOrdersHedge: Function

Protected getAllTrades

getAllTrades: Function

Protected getFamilyTrades

getFamilyTrades: Function

Protected log

log: Logger = ...

Protected printAllTrades

printAllTrades: Function

Protected printTrades

printTrades: Function

telegramChatParserMap

telegramChatParserMap: any = {}

telegramChats

telegramChats: number[] = []

Protected telegramClient

telegramClient: null | TelegramClient = null

testing

testing: any = {}

Protected timestamp

timestamp: number

Protected updateTrades

updateTrades: Function

Protected writeAllSymbols

writeAllSymbols: Function

Protected xapi

xapi: XAPI

Accessors

isConnected

  • get isConnected(): Boolean

isTestMode

  • get isTestMode(): Boolean

Methods

connect_telegram

  • connect_telegram(): Promise<void>

connect_xapi

  • connect_xapi(readyCallback: () => void): void

disconnect

  • disconnect(): Promise<void>

getVersion

  • getVersion(): Promise<string>

main

  • main(): void

printStatus

  • printStatus(): Promise<void>

Protected stdIn

  • stdIn(data: Buffer): Promise<void>

Generated using TypeDoc