Type/to search
33
Follow
63
Followers
El intercambio de Bithumb informa un error, por favor ayuda
FAQ
Created 2017-08-21 15:00:28  
 3
 2188

El código es el siguiente:
function main() {
var a = exchange.GetOrders();
Log(a);
Log(a.length);
}

El error es el siguiente:

2017-08-21 14:51:39 Error TypeError: cannot read property 'length' of null main No puede leer la propiedad 'length' de null main FILE:3
2017-08-21 14:51:39 Información no disponible
2017-08-21 14:51:39 Bithumb Error en GetOrders: No hay una transacción en curso.

El error de corrección en coreano, no se muere, a es null, lo que significa que no se puede obtener datos de a, además, se muere una vez que se ejecuta a.length, en este intercambio no es compatible con exchange.GetOrders (en inglés)

Related Recommendations
Comment
All comments (3)

    梦总,bithumb有币币兑换功能,比如能把BTC直接兑换成LTC,请问该功能用代码怎样实现

    8 years ago

    错误 TypeError: cannot read property ‘length’ of null main FILE:3 这个报错是 语法错误
    var a = exchange.GetOrders(); 获取失败了 // 报错: Bithumb 错误 GetOrders: 거래 진행중인 내역이 존재하지 않습니다.
    a就是 null 了
    在访问一个 null 的 length 属性 ,就会引发报错,导致程序停止。
    这个报错是 JS 语言层面的。

    9 years ago

    谢谢额,弄好了

    9 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)