Type/to search
0
Follow
1
Followers
No entiendo esta API de extensión, por favor ayúdenme
Help
Created 2023-07-08 23:01:17  
 1
 1006

img
La imagen muestra la configuración del robot de prueba.

Settings = {
"name": "Testificación del AIP",

Parámetros de la estrategia

"args": [["symbol_1", 'ethusdt'],["symbol_2", '22usdt']], # 策略ID,可以用GetStrategyList方法获取到 "strategy": 420235,

El parámetro de ciclo de la línea K, 60 es 60 segundos

"period": 60,

Especifica en qué host se ejecuta, no escribir la propiedad es una asignación automática

"node" : 2636059,

}
Log(api('GetRobotList',537592, Settings))
Este es un mapa que he escrito de forma documentada y que muestra errores.[code:0 data:map[error:Params length incorrect result:<nil>Por ejemplo, ¿cómo se escribe "settings"?

Related Recommendations
Comment
All comments (1)

    参数有误,可能是symbol

    3 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)