8
Follow
1370
Followers
Nova função do Inventor Quant "Enviar comandos para o WeChat/WeChat controla negociação real"
Created 2019-07-19 11:49:28 Updated 2021-09-15 09:56:28
5
4535
Nova função do Inventor Quant "Enviar comandos para o WeChat/WeChat controla negociação real"
-
O WeChat também pode enviar instruções para o disco rígido.
-
A imagem abaixo mostra o comando de edição no WeChat:
-
Por exemplo:
/send id cmdOferta Firme
idPode ser através de:/list 查看运行的实盘/listall 查看所有的实盘Para mais informações, acesse:
-
teste
/send id cmdCódigo de política de disco rígido da instrução:function main() { while(true){ // 处理交互 var cmd = GetCommand() if(cmd){ Log("cmd:", cmd) // 测试 } Sleep(2000) } } -
Configurações da interface
-
usar
/send id cmdA instrução, registada no disco rígido, mostra:O disco rígido recebe o que foi enviado.
UpdateAmount:1Ordem de Intercâmbio.
-
-
重启/停止Oferta Firme/start idIniciar o disco rígido indicado/stop idParar o disco rígido indicado
-
Especificação da consulta
idDisco rígido/list idVer o disco rígido indicado:
Related Recommendations
Get Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization5.4 Why do we need an off-sample test5.3 How to read the strategy backtest performance report
Comment
All comments (5)
发送交互给实例
/send id cmd
这里的cmd是可以任意自定义的命令内容吗?比如例子中的UpdateAmount,是发明者平台的内置函数,还是某个策略代码自定义的变量或函数?
机器人收到这个cmd交互命令之后,具体会怎样做?
刚结合了API文档中的例子来理解,搞懂了。
例子:策略中设计交互代码
https://www.fmz.com/api#getcommand
6 years ago
- 1






