v5
Added References and comments to functions.
Updated:
buy(stub, ticker, _qty, _sizeType, _priceType, _price, _max, postonly)
buy order alert constructor for frostybot
Parameters:
stub: (string) Stub value for your Frostybot server
ticker: (string) Syminfo.tickerid Value (BINANCE:BTCUSDTPERP)
_qty: (float ) Quantity (Changes depending on price type)
_sizeType: (string) "absolute" => Exact Size (Position or Qty.. SEE DOCUMENTATION!)
"factor" => Factor of current Position (1.5 = 150%, .5 = 50%)
"percent" => Percent of Equity
_priceType: (string) "absolute" => exactly the price input is dollars
"relative" => market + price input is dollars
"percent" => market + price input is percent
_price: (float ) Price Input (SEE DOCUMENTATION!!)
_max: (float ) Maximum Position Size Limiter
postonly: (bool ) Place as "post only"
Returns: (string) Alert Message in JSON format
sell(stub, ticker, _qty, _sizeType, _priceType, _price, _max, postonly)
sell order alert constructor for frostybot
Parameters:
stub: (string) Stub value for your Frostybot server
ticker: (string) Syminfo.tickerid Value (BINANCE:BTCUSDTPERP)
_qty: (float ) Quantity (Changes depending on price type)
_sizeType: (string) "absolute" => Exact Size (Position or Qty.. SEE DOCUMENTATION!)
"factor" => Factor of current Position (1.5 = 150%, .5 = 50%)
"percent" => Percent of Equity
_priceType: (string) "absolute" => exactly the price input is dollars
"relative" => market + price input is dollars
"percent" => market + price input is percent
_price: (float ) Price Input (SEE DOCUMENTATION!!)
_max: (float ) Maximum Position Size Limiter
postonly: (bool ) Place as "post only"
Returns: (string) Alert Message in JSON format
test(_testchoice, _ticker, _stub, _checkalert, _label)
Parameters:
_testchoice: (int) Alert to test
_ticker: (string) Ticker input
_stub: (string) Stub input
_checkalert: (bool) Send alerts (3 / minute if activer)
_label: (bool) Show Alerts on Label