Library "MyTVBOT" TODO: add library description here
buy_message(password, amount, order_name) Make a buy Message for TradingHook. Parameters: password (string): (string) [Required] password that you set in .env file. amount (float): (float) [Optional] amount. If not set, your strategy qty will be sent. order_name (string): (string) [Optional] order_name. The default name is "Order". Returns: (string) A string containing the formatted webhook message.
sell_message(password, percent, order_name) Make a sell message for TradingHook. Parameters: password (string): (string) [Required] password that you set in .env file. percent (string): (string) [Required] what percentage of your quantity you want to sell. order_name (string): (string) [Optional] order_name. The default name is "Order". Returns: (string) A string containing the formatted webhook message.
entry_message(password, amount, leverage, order_name) Make a Entry Message for TradingHook. Parameters: password (string): (string) [Required] password that you set in .env file. amount (float): (float) [Optional] amount. If not set, your strategy qty will be sent. leverage (int): (int) [Optional] leverage. If not set, your leverage doesn't change. order_name (string): (string) [Optional] order_name. The default name is "Order". Returns: (string) A string containing the formatted webhook message.
close_message(password, percent, amount, order_name) Make a close message for TradingHook. Parameters: password (string): (string) [Required] password that you set in .env file. percent (string): (string) [Required/Optional] what percentage of your quantity you want to close. amount (float): (float) [Required/Optional] quantity you want to close. order_name (string): (string) [Optional] order_name. The default name is "Order". Returns: (string) A string containing the formatted webhook message.
진정한 TradingView 정신에 따라, 저자는 이 파인 코드를 다른 파인 프로그래머들이 재사용할 수 있도록 오픈 소스 라이브러리로 공개했습니다. 저자에게 박수를 보냅니다! 이 라이브러리는 개인적으로 사용하거나 다른 오픈 소스 출판물에서 사용할 수 있지만, 이 코드를 출판물에서 재사용하는 것은 하우스 룰에 의해 관리됩니다.