Type/to search
8
Follow
1370
Followers
Nueva función de Inventor Quant: "Enviar comandos a WeChat/Controlar transacciones reales en WeChat"
Announcement
Created 2019-07-19 11:49:28  Updated 2021-09-15 09:56:28
 5
 4535

Nueva función de Inventor Quant: "Enviar comandos a WeChat/Controlar transacciones reales en WeChat"

  • WeChat también puede enviar instrucciones para operar el disco duro.

    img

  • La siguiente imagen muestra el comando de edición en WeChat:

    img

    • Por ejemplo:

      /send id cmd

      Oferta firmeidSe puede hacer por:

      /list 查看运行的实盘
      /listall 查看所有的实盘

      Encuentra más información aquí.

    • prueba/send id cmdEl código de la directiva para la política de disco duro:

      function main() { while(true){ // 处理交互 var cmd = GetCommand() if(cmd){ Log("cmd:", cmd) // 测试 } Sleep(2000) } }
    • Configuración de la interfaz

      img

    • usar/send id cmdLa instrucción, el registro en disco duro muestra:

      img

      Se puede ver que el disco duro ha recibido lo enviado.UpdateAmount:1El intercambio de órdenes.

  • 重启/停止Oferta firme

    • /start idIniciar el disco duro indicado
    • /stop id: Detener el disco duro especificado
  • Especificación de la consultaidEl disco duro

    • /list idVer el disco duro especificado:
Related Recommendations
Comment
All comments (5)

    发送交互给实例
    /send id cmd

    这里的cmd是可以任意自定义的命令内容吗?比如例子中的UpdateAmount,是发明者平台的内置函数,还是某个策略代码自定义的变量或函数?
    机器人收到这个cmd交互命令之后,具体会怎样做?

    刚结合了API文档中的例子来理解,搞懂了。
    例子:策略中设计交互代码
    https://www.fmz.com/api#getcommand

    6 years ago

    这个可以监视托管者运行状态么?比如服务器down掉后,在微信上收到即时的提醒能做到么?

    6 years ago

    监控托管者可以的,有离线报警。邮件 、微信通知。

    6 years ago

    梦总牛逼!

    7 years ago

    屌炸天了!

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