1
Follow
0
Followers
Có một câu hỏi nhỏ trong mã: người quản lý nhận được tin nhắn từ máy chủ được viết bằng go và mở một robot mới.exec.Command--fork nhận ra quá trình khởi động được thực hiện?
Lý tưởng nhất là go thực hiện host, chính sách cũng có thể cung cấp lập trình ngôn ngữ go, sau đó tạo plugin, host cập nhật chính sách cho bản địa, robot tải
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
