Input Settings
Gets the main account guid of the bot.
- AccountGuid()
Returns an account guid.
Return Type: String
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 | - |
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 |
Gets the main account leverage setting.
- Leverage()
Leverage setting.
Return Type: Number
Gets the main market of the bot.
- PriceMarket()
Returns a market string. For example: BITFINEXBTC_USD or BITMEX_XBT_USD_XBTUSD.
Return Type: String
Gets the trade amount setting.
- TradeAmount()
Gets the trade amount.
Return Type: Number
Last modified 2yr ago