Have tried alot of different things getting negative accuracy

I have tried creating a LSTM model which predicts value for next day while return_sequences = True, then i also tried by updating the test data every time by predicting for the last 20 days and adding my prediction to the test data . I have preprocessed the data to create a pattern for 20 days using xtrain and ytrain .