Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeyedApiRobot

Hierarchy

Index

Constructors

constructor

Properties

Private _keyMap

_keyMap: KeyMap

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

Private _printKeys

  • _printKeys(): void
  • "?" does nothing
    "1" Connect_XA
    "2" Connect_Te
    "3" Trade_Tip
    "4" Trade_Prc
    "5" Update
    "6" Positions
    "9" Symbols
    "\u0003" Disconnect
    "\u0004" Disconnect

    Returns void

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