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

Potential bug? tradingview timeframe may not include leading 1 #1

Open
amchelle opened this issue Apr 14, 2019 · 0 comments
Open

Potential bug? tradingview timeframe may not include leading 1 #1

amchelle opened this issue Apr 14, 2019 · 0 comments

Comments

@amchelle
Copy link
Contributor

const quantifier = parseInt(timeframe)

solution: parse a normalizedTimeframe,
session.toString(session.fromString(timeframe))

actually I've been doing that in a few places, might just as well add it to market-session as normalizeTimeframe

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant