optimizer – Parallel optimizers¶
注解
- The server component will split strategy executions in chunks which are distributed among the different workers. pyalgotrade.optimizer.server.Server.defaultBatchSize controls the chunk size.
- The
pyalgotrade.strategy.BaseStrategy.getResult()method is used to select the best strategy execution. You can override that method to rank executions using a different criteria.