Script Settings
Last updated
Last updated
Gets the main account guid of the bot.
Syntax: AccountGuid()
Returns an account guid.
Return type: String
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
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Gets the current fee percentage of the main or specific market.
Syntax: Fee([ market ])
Returns the fee percentage.
Return type: Number
Gets the main account leverage setting.
Syntax: Leverage()
Leverage setting.
Return type: Number
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
Gets the trade amount setting.
Syntax: TradeAmount()
Gets the trade amount.
Return type: Number
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
sources
DynamicParams
False
market
String
False
InputAccount,InputAccountMarket,InputMarket,AccountGuid