PINE LIBRARY

LightyearWebhook

Library "LightyearWebhook"
This library provides functionality to create a webhook signal configuration for trading strategies.
It generates a JSON string with relevant trading information which can be sent to external systems.

signal_config(leverage, contract_size, token)
  signal_config
@description Generates a JSON string containing the signal configuration for trading strategies. This includes
information about the symbol, order action, market position, amount, price, cost, fee, order ID,
trade timestamp, previous entry price, previous market position size, initial capital, leverage,
contract size, and strategy token.
  Parameters:
    leverage (int)
    contract_size (int)
    token (string)
  Returns: string A JSON string containing the signal configuration.
alerts

Pine脚本库

本着真正的TradingView精神,作者将此Pine代码发布为开源脚本库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私下或在其它开源出版物中使用此脚本库,但在出版物中重复使用此代码受网站规则约束。

免责声明