0
Follow
1
Followers
-
Maklumat pembukaan
022-01-21 18:24:32 Maklumat untuk membuka borang kosong, sellOrderId 404702825422401536
2022-01-21 18:24:32 Futures_OKCoin dijual kosong - swap harga pasaran 1
2022-01-21 18:24:32 Maklumat Pemilihan lebih kecil daripada jumlah maksimum yang boleh dibuka -
Kod
function orderOpen(way, price, amount) {
if (way == "LONG") {
return trade("buy", price, amount)
} else if (way == "SHORT") {
return trade("sell", price, amount)
}
}
else if (position.length == 0) {
Log ("Simpanan kosong, bayar terus")
buyOrderId = orderOpen(way, -1, amount)
Log (("BuyOrderIduyOrderId=", buyOrderId)
}
为什么多单就是市价单,空单就是委托单呢?谢谢
Related Recommendations
Built-In Function_Cross Analysis and InstructionsHow to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engine
