Bug Fix: Fast Forward into the Future
This commit is contained in:
1 parent
0609479caf
commit
2a6515b2af
1 file changed
+1
-2
@@ -494,8 +494,7 @@
|
||||
|
||||
while (foundDate !== true) {
|
||||
|
||||
/* If we are in the future then return the current (blank) array */
|
||||
if (new Date(since) <= new Date) {
|
||||
if (new Date(since).valueOf() >= (new Date).setSeconds(0,0)) {
|
||||
return OHLCVs
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user