4
Follow
0
Followers
bitmex 거래 플랫폼 이전에 작성된 정책이 실행되지 않습니다.
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)
Comment
All comments (4)
function main() {
exchange.SetContractType("XBTUSD")
Log(_C(exchange.GetAccount))
// Log(_C(exchange.GetTicker))
// Log(_C(exchange.GetDepth))
// Log(_C(exchange.GetRecords))
// Log(_C(exchange.GetTrades))
// IO Test
// Log(_C(exchange.IO, "api", "GET", "user/affiliateStatus"))
// Log(_C(exchange.SetMarginLevel, 10))
/* exchange.SetDirection("buy")
var orderId = exchange.Buy(-1, 3)
if (orderId) {
Log(_C(exchange.GetOrder, orderId))
}*/
Log(_C(exchange.GetPosition))
}
2 years ago
合约使用swap 试下。
javascript
function main() {
Log(exchange.GetName())
exchange.SetContractType("swap")
return exchange.GetTicker()
}
2 years ago
- 1
