PINE LIBRARY
Cập nhật DBTV

Library "DBTV"
entry_message(password, percent, leverage, margin_mode, kis_number)
Create a entry message for POABOT
Parameters:
password (string): (string) [Required] The password of your bot.
percent (float): (float) [Optional] The percent for entry based on your wallet balance.
leverage (int): (int) [Optional] The leverage of entry. If not set, your levereage doesn't change.
margin_mode (string): (string) [Optional] The margin mode for trade(only for OKX). "cross" or "isolated"
kis_number (int): (int) [Optional] The number of koreainvestment account. Default 1
Returns: (string) A json formatted string for webhook message.
entry_message(password, percent, leverage, margin_mode, kis_number)
Create a entry message for POABOT
Parameters:
password (string): (string) [Required] The password of your bot.
percent (float): (float) [Optional] The percent for entry based on your wallet balance.
leverage (int): (int) [Optional] The leverage of entry. If not set, your levereage doesn't change.
margin_mode (string): (string) [Optional] The margin mode for trade(only for OKX). "cross" or "isolated"
kis_number (int): (int) [Optional] The number of koreainvestment account. Default 1
Returns: (string) A json formatted string for webhook message.
Phát hành các Ghi chú
v2업데이트됨
entry_message(password, percent, leverage, margin_mode, accnt_no)
Create a entry message for ATCHART
Parameters:
password (string): (string) [Optional] The password of your bot.
percent (float): (float) [Optional] The percent for entry based on your wallet balance.
leverage (int): (int) [Optional] The leverage of entry. If not set, your levereage doesn't change.
margin_mode (string): (string) [Optional] The margin mode for trade(only for OKX). "cross" or "isolated"
accnt_no (string): (string) [Optional] The number of security account. Default 1
Returns: (string) A json formatted string for webhook message.
Phát hành các Ghi chú
v3더해짐
entry_msg(accnt_no, password, orderqty, orderkind)
Create a entry message for ATCHART
Parameters:
accnt_no (string): (string) [Optional] The number of security account. Default 1
password (string): (string) [Optional] The password of your bot.
orderqty (int)
orderkind (string)
Returns: (string) A json formatted string for webhook message.
없어짐
entry_message(password, percent, leverage, margin_mode, accnt_no)
Create a entry message for ATCHART
Phát hành các Ghi chú
v4Phát hành các Ghi chú
v5더해짐
db_buy(accnt_no, password, code, orderqty, orderkind)
Parameters:
accnt_no (string)
password (string)
code (string)
orderqty (string)
orderkind (string)
db_sell(accnt_no, password, code, orderqty, orderkind)
Parameters:
accnt_no (string)
password (string)
code (string)
orderqty (string)
orderkind (string)
db_entry(accnt_no, password, code, orderqty, orderkind)
Parameters:
accnt_no (string)
password (string)
code (string)
orderqty (string)
orderkind (string)
db_close(accnt_no, password, code, orderqty, orderkind)
Parameters:
accnt_no (string)
password (string)
code (string)
orderqty (string)
orderkind (string)
db_exit(accnt_no, password, code, orderqty, orderkind)
Parameters:
accnt_no (string)
password (string)
code (string)
orderqty (string)
orderkind (string)
in_trade(start_time, end_time, hide_trade_line)
Parameters:
start_time (int)
end_time (int)
hide_trade_line (bool)
없어짐
entry_msg(accnt_no, password, orderqty, orderkind)
Create a entry message for ATCHART
Phát hành các Ghi chú
v6Thư viện Pine
Theo đúng tinh thần TradingView, tác giả đã công bố mã Pine này như một thư viện mã nguồn mở để các lập trình viên Pine khác trong cộng đồng có thể tái sử dụng. Chúc mừng tác giả! Bạn có thể sử dụng thư viện này cho mục đích cá nhân hoặc trong các ấn phẩm mã nguồn mở khác, nhưng việc tái sử dụng mã này trong các ấn phẩm phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Thư viện Pine
Theo đúng tinh thần TradingView, tác giả đã công bố mã Pine này như một thư viện mã nguồn mở để các lập trình viên Pine khác trong cộng đồng có thể tái sử dụng. Chúc mừng tác giả! Bạn có thể sử dụng thư viện này cho mục đích cá nhân hoặc trong các ấn phẩm mã nguồn mở khác, nhưng việc tái sử dụng mã này trong các ấn phẩm phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.