Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
fix(charts): render trades in different timeframes
Browse files Browse the repository at this point in the history
  • Loading branch information
albertosantini committed Sep 10, 2019
1 parent 767058b commit 34ebc61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class OhlcChartTemplate {
}

myTrades.forEach((trade, tradeIndex) => {
const tradeDate = OhlcChartTemplate.getLastHistUpdate("M5", {
const tradeDate = OhlcChartTemplate.getLastHistUpdate(myState.myGranularity, {
time: trade.date.getTime()
});

Expand Down

0 comments on commit 34ebc61

Please sign in to comment.