PINE LIBRARY
已更新 TradingHook

Library "TradingHook"
This library is a client script for making a webhook signal formatted string to TradingHook webhook server.
buy_message(password, amount, order_name) Make a buy Message for TradingHook.
Parameters:
password: (string) [Required] password that you set in .env file.
amount: (float) [Optional] amount. If not set, your strategy qty will be sent.
order_name: (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) [Required] password that you set in .env file.
percent: (string) [Required] what percentage of your quantity you want to sell.
order_name: (string) [Optional] order_name. The default name is "Order".
Returns: (string) A string containing the formatted webhook message.
You can use TradingHook WebServer open source code in github(github.com/jangdokang/TradingHook)
This library is a client script for making a webhook signal formatted string to TradingHook webhook server.
buy_message(password, amount, order_name) Make a buy Message for TradingHook.
Parameters:
password: (string) [Required] password that you set in .env file.
amount: (float) [Optional] amount. If not set, your strategy qty will be sent.
order_name: (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) [Required] password that you set in .env file.
percent: (string) [Required] what percentage of your quantity you want to sell.
order_name: (string) [Optional] order_name. The default name is "Order".
Returns: (string) A string containing the formatted webhook message.
You can use TradingHook WebServer open source code in github(github.com/jangdokang/TradingHook)
發行說明
entry_message(password, amount, leverage, order_name)Make a Entry Message for TradingHook.
Parameters:
password: (string) [Required] password that you set in .env file.
amount: (float) [Optional] amount. If not set, your strategy qty will be sent.
leverage: (int) [Optional] leverage. If not set, your leverage doesn't change.
order_name: (string) [Optional] order_name. The default name is "Order".
Returns: (string) A string containing the formatted webhook message.
close_message(password, percent, order_name)
Make a close message for TradingHook.
Parameters:
password: (string) [Required] password that you set in .env file.
percent: (string) [Required] what percentage of your quantity you want to close.
order_name: (string) [Optional] order_name. The default name is "Order".
Returns: (string) A string containing the formatted webhook message.
發行說明
v3Now you can make close order by amount (or percent). Be careful to use!
close_message(password, percent, amount, order_name)
Make a close message for TradingHook.
Parameters:
password: (string) [Required] password that you set in .env file.
percent: (string) [Required/Optional] what percentage of your quantity you want to close.
amount: (float) [Required/Optional] quantity you want to close.
order_name: (string) [Optional] order_name. The default name is "Order".
Returns: (string) A string containing the formatted webhook message.
發行說明
Support BITGET exchangePine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
알고리즘 트레이딩, 파인스크립트, 자동매매를 다루고 있습니다
[파인스크립트 무료강의]
gojdk.com/pinescript-start
[파인스크립트 with 자동매매]
gojdk.com/pinescript-tradinghook
[유튜브]
gojdk.com/youtube
[디스코드]
gojdk.com/discord
[파인스크립트 무료강의]
gojdk.com/pinescript-start
[파인스크립트 with 자동매매]
gojdk.com/pinescript-tradinghook
[유튜브]
gojdk.com/youtube
[디스코드]
gojdk.com/discord
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
알고리즘 트레이딩, 파인스크립트, 자동매매를 다루고 있습니다
[파인스크립트 무료강의]
gojdk.com/pinescript-start
[파인스크립트 with 자동매매]
gojdk.com/pinescript-tradinghook
[유튜브]
gojdk.com/youtube
[디스코드]
gojdk.com/discord
[파인스크립트 무료강의]
gojdk.com/pinescript-start
[파인스크립트 with 자동매매]
gojdk.com/pinescript-tradinghook
[유튜브]
gojdk.com/youtube
[디스코드]
gojdk.com/discord
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。