arb1 redeploy
This commit is contained in:
@@ -18,12 +18,6 @@ export function nearestOhlcStart(timestamp, periodSeconds=null) {
|
||||
return Math.round((timestamp-OHLC_START) / periodSeconds) * periodSeconds + OHLC_START
|
||||
}
|
||||
|
||||
export function pointsToTvOhlcStart(points, periodSeconds=null) {
|
||||
return points === null ? null : points.map((p) => {
|
||||
return {time: nearestOhlcStart(p.time, periodSeconds), price: p.price}
|
||||
})
|
||||
}
|
||||
|
||||
export function dirtyPoints(pointsA, pointsB) {
|
||||
if (pointsA === undefined)
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user