4
Follow
0
Followers
Les stratégies précédentes de Bitmex ne peuvent pas être utilisées
Created 2024-03-27 01:17:35
4
922
La stratégie écrite précédemment sur bitmex ne fonctionne pas
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
