Grid search with a weighted error function: Hyper-parameter optimization for financial time series forecasting | Synapse