stevenGame / jr-chart

Jun Rui org stock trading charts
1 stars 0 forks source link

Symbol resolve failed: `EURUSD`, reason: `unknown_symbol` #1

Open AbdoCode opened 4 years ago

AbdoCode commented 4 years ago

I just downloaded the charting library, and tried to run it in my laravel project.

The issue is, chart history is n't loaded.

When i looked in the networking tab in chrome, i saw that config is loaded right, symbols is loaded right but the history is not even requested after resolving symbol, when i set debg:true in the chart js file, i saw in the console this statement "Symbol resolve failed: EURUSD, reason: unknown_symbol" and i don't know why this happen however i put the EURUSD in the my symbole.json file which contains

{ "EURUSD" : { "name": "EURUSD", "exchange-traded": "EURUSD", "exchange-listed": "EURUSD", "timezone": "Europe/London", "minmovement": 1, "minmovement2": 0, "session-regular": "0930-1630", "has-intraday": false, "has-no-volume": false, "description": "American Pound Dollar", "type": "stock", "supported_resolutions": ["15","60","240","D","W","M"], "pricescale": 100, "ticker": "EURUSD" } }

Can you please help me on this? @stevenGame

AbdoCode commented 4 years ago

@stevenGame This is a screenshot of the console image