A constrained n-oscillator model in finance