1
Follow
0
Followers
Há uma pequena dúvida no código: o host recebe uma mensagem do servidor escrita em go e abre um novo bot.exec.Command--fork reconhece que o processo de inicialização foi implementado?
O ideal é que a implementação do host go, a política também pode fornecer a escrita em linguagem go, e depois gerar plug-ins, o host atualizar a política para o local, e o bot carregar
func RunStrategy(){
...
p, err := plugin.Open("./logs/plugin/strategy_XXXXX.so")
if err != nil {
panic(err)
}
main, err := p.Lookup("StrategyMain")
main.(func())()
...
}
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet 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?
Comment
All comments (1)
- 1
