Input Settings
AccountGuid
Gets the main account guid of the bot.
AccountGuid()
Returns an account guid.
Return Type: String
CurrentInterval
Gets the default interval selected by the user or returns the interval of a price source.
CurrentInterval([ sources ])
Interval in minutes.
Return Type: Number
Parameter Name | Parameter Type | Required | Suggested |
sources | DynamicParams | False | - |
Fee
Gets the current fee percentage of the main or specific market.
Fee([ market ])
Returns the fee percentage.
Return Type: Number
Parameter Name | Parameter Type | Required | Suggested |
market | String | False | InputAccount, InputAccountMarket, InputMarket, AccountGuid |
Leverage
Gets the main account leverage setting.
Leverage()
Leverage setting.
Return Type: Number
PriceMarket
Gets the main market of the bot.
PriceMarket()
Returns a market string. For example: BITFINEXBTC_USD or BITMEX_XBT_USD_XBTUSD.
Return Type: String
TradeAmount
Gets the trade amount setting.
TradeAmount()
Gets the trade amount.
Return Type: Number
Last updated