0
Follow
1
Followers
Código en el foro de aprendizaje
function CancelPendingOrders() {
var orders = exchange.GetOrders (();// Obtener todos los pedidos pendientes
for (var j = 0; j < orders.length; j++) {
exchange.CancelOrder(orders[j].Id, orders[j]);}//该函数的用途为取消某个Id的订单。
}
Ejecución de los errores
Error TypeError: cannot read property 'length' of null at CancelPendingOrders (Error de tipo: no se puede leer la propiedad 'length' de null en CancelPendingOrders)FILE:41) at main (FILE:125)
2023-02-12 00:00:51 Futures_OKCoin Error de GetOrders: 401: {"msg":"APIKey does not match current environment.","code":"50101"} La clave de APIKey no coincide con el entorno actual. La clave de APIKey no coincide con el entorno actual.
¿Cuál es el motivo? Gracias
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
