joeldg / bowhead

PHP trading bot framework
Apache License 2.0
801 stars 288 forks source link

bad open value in OHLC? #84

Open scabros opened 6 years ago

scabros commented 6 years ago

hi, i dont know, maybe i am wrong, but, shouldnt order by "ctime asc" to get open values in Utils/OHLC.php? or is that the default order in query?

here: https://github.com/joeldg/bowhead/blob/master/app/Traits/OHLC.php#L89

like this (but asc): https://github.com/joeldg/bowhead/blob/master/app/Traits/OHLC.php#L101

sorry if i am wrong.

keep up the good work!!