The Canonical Portfolio Problem