stock-trading-ml icon indicating copy to clipboard operation
stock-trading-ml copied to clipboard

A stock trading bot that uses machine learning to make price predictions.

Results 25 stock-trading-ml issues
Sort by recently updated
recently updated
newest added

I get this error when running the trading_algo.py: `ValueError Traceback (most recent call last) in () ----> 1 model.predict([[ohlcv], [ind]]) 3 frames /usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/data_adapter.py in __init__(self, x, y, sample_weights, sample_weight_modes, batch_size,...

when you intend to drop the IPO day data with `data = data.drop(0, axis=0)`, you're actually dropping the most recent data, not the oldest. Should instead be `data = data.drop(data.shape[0]...

Hi Yacoubb, Just wanted to give you a heads up that it doesn't appear your code accounts for stocks splits at all. You probably didnt encounter this since MSFT hasnt...

(venv) C:\Users\sander\PycharmProjects\autotrader>python save_data_to_csv.py usage: save_data_to_csv.py [-h] symbol {intraday,daily,daily_adj} save_data_to_csv.py: error: the following arguments are required: symbol, time_window

I'm sorry to be harsh, but you are an idiot. Your method for predicting stock prices is wrong on so many levels. If it were this easy then everyone would...

I'd like to play with your project on Colab. I can't seem to import it. Any advice? Thank you

I have made a bit of a change that might help if someone were to want to pull more than one stock at a time. simple adding a 'Stock symbols.txt'...

when seeding the random, you need to seed like that: ```python import tensorflow as tf tf.random.set_seed() ```` Reference: https://stackoverflow.com/questions/58638701/importerror-cannot-import-name-set-random-seed-from-tensorflow-c-users-po

Hi, I see this repo wasn't updated for several months but wanted to see if I can get some help from you on your program. Prediction is not working (generates...