Back to problems

Moving Average Signal System

Object-Oriented Programming · Akuna Capital · Medium

Requirements Design and implement a component that calculates a moving average from market data and then derives a signal from that average. The prompt assumes the following: The threshold does not change during processing. Market data can be supplied to the component. The moving-average window remains fixed. Before writing code, confirm these design decisions: Will each input contain a timestamp and price, or will the component receive prices without timestamps? Does the…

Checking your access…