A method for automatic stock trading combining technical analysis and nearest neighbor classification · Study