diliproshitha / neo-trader

Send orders directly from Tradingview into Metatrader platform
Apache License 2.0
23 stars 11 forks source link

Extension Returns 'null' When Fetching Data in Chrome v123.0.6312.87 on MacOS Sonoma #13

Closed cmacha2 closed 4 months ago

cmacha2 commented 5 months ago

I am encountering an issue with the Neo Trader extension while running Chrome version 123.0.6312.87 on MacOS Sonoma version 14.4 (23E214). The extension's console.log is outputting null following the call to getTradeInfo(). It appears there may be an issue with script injection or the interaction with the chrome object, which is preventing the extension from functioning as intended.

Steps to Reproduce:

Install the Neo Trader extension in Chrome. Open the Chrome developer console. Attempt to execute the function that retrieves trading information from TradingView. Observe that the console logs a null result. Expected Behavior: The function is supposed to fetch data from TradingView and return a populated object containing the trade information.

Actual Behavior: Instead of retrieving data, the function returns null, indicating a potential problem with script injection or with the Chrome object's response. Attached screenshots demonstrate the console log output and the object returned by chrome.scripting.executeScript, which is unexpectedly null.

Additional Information:

Operating System: MacOS Sonoma version 14.4 (23E214) Screenshots: [please attach your screenshots here]

Screenshot 2024-03-31 at 4 39 17 AM Screenshot 2024-03-31 at 4 39 24 AM
diliproshitha commented 4 months ago

Hi @cmacha2 Can you re-install the extension and try again?

cmacha2 commented 4 months ago

CONTINUE THE ISSUE

diliproshitha commented 4 months ago

Try updating the browser. It is working for me in Chrome v123.0.6312.106

cmacha2 commented 4 months ago

It does it and it continues with the same thing. Coincidentally, I tried it on a laptop with Windows and it worked, it was working for two days and suddenly I reinstalled and it stopped working again. I passed it on to a friend and it's still the same, it doesn't load the trade information and it doesn't work. where the error comes

cmacha2 commented 4 months ago

I found the problem. It was that my TradingVIew was setting in spanish for default and the extension didnt find the selectors. Thanks for replay and take the time.

cmacha2 commented 4 months ago

Everyting find the problem was solve, Thanks for the help Diliproshitha