Skip to content

Commit

Permalink
Fixed some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaron committed Dec 28, 2023
1 parent 8dacef1 commit f65e966
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ class PriceBarChart(
val series3 = indicators.toLineSeries(feed, asset, timeframe)

return listOf(series1, series2) + series3

// return arrayOf(series1, series2)
}

private fun getVM(): PiecewiseVisualMap {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ data class Timeframe(val start: Instant, val end: Instant, val inclusive: Boolea
}

/**
* Convert this timeframe to years
* Convert this timeframe to years (using 365 days in a year).
*/
fun toYears(): Double {
val period = duration.toMillis()
Expand Down

0 comments on commit f65e966

Please sign in to comment.