Script Settings
AccountGuid
Gets the main account guid of the bot.
Syntax: 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.
Syntax: CurrentInterval([ sources ])
Interval in minutes.
Return type: Number
sources
DynamicParams
False
Fee
Gets the current fee percentage of the main or specific market.
Syntax: Fee([ market ])
Returns the fee percentage.
Return type: Number
market
String
False
InputAccount,InputAccountMarket,InputMarket,AccountGuid
Leverage
Gets the main account leverage setting.
Syntax: Leverage()
Leverage setting.
Return type: Number
PriceMarket
Gets the main market of the bot.
Syntax: PriceMarket()
Returns a market string. For example: BITFINEX_BTC_USD_
or BITMEX_XBT_USD_XBTUSD
.
Return type: String
TradeAmount
Gets the trade amount setting.
Syntax: TradeAmount()
Gets the trade amount.
Return type: Number
Last updated