0
Follow
0
Followers
Las pruebas retrospectivas de simulación de Python informan que "el nombre global 'log' no está definido"
Created 2018-04-23 01:15:04 Updated 2018-04-23 10:17:55
1
2693
Ya se ha encontrado la causa, la L de Log debería estar en mayúsculas.
————————————————
El código es simple:
def main():
log(exchange.GetRecords())
Traceback (most recent call last): File "La llamada más reciente es la llamada final.<string>", line 1285, in Run File "<string>", line 7, in <module> File "<string>", line 2, in main NameError: global name 'log' is not defined
Related Recommendations
The grid trading strategyPython streamlined multi-variety MACD trending strategy frameworkin main TypeError: IO() takes at most 3 arguments (5 given)symbol not setGetTicker: 400: {"code": 2, "data": {}, "message": "invalid params"}gateio getdepth 502Decrypt: Secret key decrypt failedGetOrders: 400: {"code":-1121,"msg":"Invalid symbol."}HTTP 403 errorBitcoin trading by using bots
Comment
All comments (1)
- 1
