1
Follow
0
Followers
代码有个小疑问:托管者是用go写的收到服务器消息,开新机器人 exec.Command --fork识别 开子进程实现的?
理想中go实现托管者,策略也能提供go语言编写,然后生成plugin插件,托管者更新策略到本地,机器人加载
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
