0
Follow
1
Followers
-
Información para el formulario
022-01-21 18:24:32 Información para abrir un formulario, sellOrderId 404702825422401536
2022-01-21 18:24:32 Futures_OKCoin Venta abierta - swap precio de mercado 1
2022-01-21 18:24:32 Información: La tenencia de una posición menor que la cantidad máxima abierta, puede ser más simple -
El código
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 ("Estocado vacío, facturación directa")
buyOrderId = orderOpen(way, -1, amount)
Log (("Completo el pedido: 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
