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, 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.
더해짐
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
더해짐
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
Perpustakaan Pine
Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka supaya pengaturcara Pine lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda juga boleh menggunakan perpustakaan ini secara peribadi atau dalam penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini dalam penerbitan adalah tertakluk kepada Peraturan Dalaman.
Penafian
Perpustakaan Pine
Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka supaya pengaturcara Pine lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda juga boleh menggunakan perpustakaan ini secara peribadi atau dalam penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini dalam penerbitan adalah tertakluk kepada Peraturan Dalaman.