The news that a potentially successful COVID-19 vaccine was underway raised global investors’ optimism.