Library "FinandyHookLib" TODO: add library description here createOrderJson(model, hook_secret, options) Parameters: model (orderModel type from Hamster-Coder/OrderLib/7) hook_secret (string) options (textFormatOptions) textFormatOptions Fields: price_format (series__string) percent_format (series__string)
Library "SAT_BACKTEST" ex_timezone(tz) switch case return exact @timezone for timezone input Parameters: tz (simple string) Returns: syminfo.timezone or tz if_in_date_range(usefromDate, fromDate, usetoDate, toDate, src_timezone, dst_timezone) if_in_date_range : check if @time_close is range Parameters: usefromDate (simple bool)...
Library "Antares_messages_public" This library add messages for yours strategy for use in Antares trading system for binance and bybit exchanges. Данная библиотека позволяет формировать сообщения в алертах стратегий для Antares в более упрощенном для пользователя режиме, включая всплывающие подсказки и т.д. set_leverage(token, market, ticker_id, leverage)...
Library "WebhookMessage" The webhook message library provides several functions for building JSON payloads used as instructions to manage automated orders and positions with TradersPost.io. See: docs.traderspost.io For example, build a message that goes long 1 contract with a trailing stop of 0.75% sent to the broker: import TradersPostInc/WebhookMessage/1...
Library "Libre" TODO: add library description here MMMM(toe) Parameters: toe (string) OOOO(toe, toe1, toe2, toe3, toe4, toe5, init) Parameters: toe (string) toe1 (string) toe2 (string) toe3 (string) toe4 (string) toe5 (string) init (int) XXXX(toe) Parameters: toe (string) WWWW(toe)...
Library "string_utils" Collection of string utilities that can be used to replace sub-strings in a string and string functions that are not part of the standard library. This a more simple replacement of my previous string_variables library since it uses types for better performance due to data locality and methods that give a more intuitive API.
Library "PineTradingbotWebhook" makeWebhookJson(webhookKey, direction, qty, entryLimit, entryStop, exitLimit, exitStop, orderRef, contract) Creates a Webhook message for Tbot on Tradingboat Parameters: webhookKey : the unique key to the Flask (TVWB) server direction : the same as the strategy's direction qty entryLimit ...
Library "json" JSON Easy Object Create/stringiffy Functions to add/write JSON new (name , kind) -> object set (_item , _obj , _key ) -> key index for parent object's array add (_obj , _key , _item ) -> key index for parent object's array write (object , kind ) -> stringified object // (enter kind to cut off key...
Library "POA" This library is a client script for making a webhook signal formatted string to POABOT server. entry_message(password, percent, leverage, kis_number) Create a entry message for POABOT Parameters: password : (string) The password of your bot. percent : (float) The percent for entry based on your wallet balance. leverage :...
Library "PlurexSignalStrategy" Provides functions that wrap the built in TradingView strategy functions so you can seemlessly integrate with Plurex Signal automation. NOTE: Be sure to: - set your strategy default_qty_value to the default entry percentage of your signal - set your strategy default_qty_type to strategy.percent_of_equity - set your strategy...
Library "PlurexSignalCore" General purpose functions and helpers for use in more specific Plurex Signal alerting scripts and libraries plurexMarket() Build a Plurex market string from a base and quote asset symbol. Returns: A market string that can be used in Plurex Signal messages. tickerToPlurexMarket() Builds Plurex market string from the...
Library "libcompress" numbers compressor for large output data compression compress_fp24() converts float to base64 (4 chars) | 24 bits: 1 sign + 5 exponent + 18 mantissa Returns: 4-character base64_1/5/18 representation of x compress_ufp18() converts unsigned float to base64 (3 chars) | 18 bits: 5 exponent + 13 mantissa Returns: 3-character...
Library "FrostyBot" JSON Alert Builder for FrostyBot.js Binance Futures and FTX orders github.com More Complete Version Soon. TODO: Comment Functions and annotations from command reference ^^ TODO: Add additional whitelist and symbol mappings. leverage() buy() sell() cancelall() closelong() closeshort() traillong() trailshort() ...
Library "PineHelper" This library provides various functions to reduce your time. recent_opentrade_entry_bar_index() get a recent opentrade entry bar_index Returns: (int) bar_index recent_closedtrade_entry_bar_index() get a recent closedtrade entry bar_index Returns: (int) bar_index recent_closedtrade_exit_bar_index() get a recent closedtrade...
Library "PlurexSignal" Provides functions that wrap the built in TradingView strategy functions so you can seemlessly integrate with Plurex Signal automation. NOTE: Be sure to set your strategy close_entries_rule="ANY" and pyramiding=20 or some other amount appropriate to your strategy in order to have multiple entries. plurexMarket() Build a Plurex market...
Library "myAutoviewAlerts" My Alerts Functions - To use with autoview @returns - These functions returns a string to use in alerts to send commands to autoview. You can open an order, place a stop or take order, close an opened order or a opened position, or open a hedge position. @param a = String - Account Identification @param e = String -...
Library "myAlerts" My Alerts Functions - To use with autoview f_order(_price, _qty, _position, _account, _exchange, _i, i_qtyTypeOrder, typeMsg, syminfoticker) - Write the entry order message Parameters: _price : - The order price _qty : - The order quantity _position : - The order side _account : - The user account _exchange : -...