performance optimization and risk management for trading | Comidoc