5
Follow
5
Followers
function main() {
// Initialize Exchange
exchange.SetContractType("swap")
// Nhận thông tin tài khoản
var account = exchange.GetAccount()
Log (("tài liệu tài khoản, Balance:", account.Balance, "FrozenBalance:", account.FrozenBalance, "Stocks:",
account.Stocks, "FrozenStocks:", account.FrozenStocks)
}
// In là: thông tin tài khoản, Balance: 0 Frozen
// Mã trên không thể truy cập vào tài khoản thống nhất của giao dịch bybit? Làm thế nào để sửa đổi?
// Có tiền trong tài khoản nhưng không thể truy cập
Related Recommendations
Inventor Quant Workflow FAQ (Continuously Updated)Financial Magic Zone Global KOL RecruitmentFAQ Summary (Updating...)PINE Language Introductory Tutorial of FMZ QuantPrimary Tutorial of Strategy Writing with FMZ Quant Trading Platform (Must Read)Getting Started with FMZ Quant Trading Platform (Must Read)MyLanguage DocFMZ PINE Script DocNotes & Explanation of Futures Reverse Doubling Algorithm StrategySolutions to Obtaining Docker Http Request Message
Comment
All comments (2)
搞定了,留个脚印给别人:Log("account.totalAvailableBalance:",account.Info.result.list[0].totalAvailableBalance)
3 years ago
交易所合约分币本位、U本位合约,虽然都有永续合约。但是是币本位或者U本位是根据交易对区分的,可以看下这个系列文章:
https://www.fmz.com/digest-topic/6857
3 years ago
- 1
