PINE LIBRARY
Updated 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.
Release Notes
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.
Release Notes
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
Release Notes
v4Release Notes
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
Release Notes
v6Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.