Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ZoBaseUser

Index

Constructors

  • new ZoBaseUser(margin: Margin, realm?: any, realmConnected?: boolean): ZoBaseUser

Properties

margin: Margin

internal info

positionsArr: PositionInfo[] = []
realm: any
realmConnected: boolean

Methods

  • loadPositionsArr(markets: {}, indexToMarketKey: {}): PositionInfo[]
  • loading positions, note that markets have to be loaded in the correct order. It also removes the sign from coins & pCoins.

    Parameters

    • markets: {}
    • indexToMarketKey: {}
      • [key: number]: string

    Returns PositionInfo[]

Generated using TypeDoc