barset = api.get_barset('OCN', '1D', limit=507,after="{}T09:30:00-04:00".format("2020-08-11"))["OCN"]
OCN got a stock split 1:15 on 2020-08-11 and the data I got from the bar set contains the pre and post-stock split price. So I got:
#first one is 8/11/2020, the second one is 8/12/2020
Bar({'**c': 1.48,** 'h': 1.56, 'l': 1.42, 'o': 1.48, 't': 1597204800, 'v': 1549860}),
Bar(**{'c': 21**, 'h': 22.2, 'l': 20.25, 'o': 22.2, 't': 1597291200, 'v': 55049})
literally right next to each other. I cant perform any calculations on this.
the Bar sets NEED to update stock price after stock split