-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to get candlesticks. #10
Comments
I have the same issue. It's trying to use google instead. Got it all set up and double checked regarding the installation. Any ideas on what is causing the problem? ` THOUGHTS: I will use the 'fetch_candlesticks' command to fetch GBPUSD 1D data for the last 30 days from MarketWatch.
|
I have a similar issue, but took me a while to work out that some currency pairs work. For example: Metatrader symbols that work: EURGBP, USDJPN, USDSGD, I am able able to successfully pull the following: I am also able to successfully do all of the following for currencies that work: I can't pull: In order to troubleshoot further, it is worth establishing what does work, for example, put the objective as: To conduct troubleshooting on the MT4 Metatrader API. The aim is just to find what works with the API. It is not to find profitable trading opportunities. Create a file called GPTCurrencyText.txt. Run through the different currency pairs to see which ones work and which ones do not, using the following command: COMMAND = fetch_candlesticks ARGUMENTS = {'symbol': '', 'timeframe': '1h'} but cylcing through each currency pair, including EURGBP, USDJPN, USDSGD, USDEUR, EURUSD, AUSUSD. After each test, store the result in GPTCurrencyText.txt file and move on to the next currency pair. (I wasn't successful in getting it to generate a file, but it did seem to keep it pretty focused on going through the different pairs.) Also: My guess is that there are idiosyncrasies between brokers requiring slightly different syntax, and this is leading to the issues, but further diagnosis needed. |
regarding the SMA issue, I modifyed the code in "Indicators.py" as follow and it works !
|
Good day to you! I've been wondering about trying out this plugin. I've created all of the requried accounts and entered all of the ids and api keys, but when i try to run it, it always Failed to get candlesticks. I let it run for a few commands and it also throws Error: DataFrame constructor not properly called!. I'm kinda new to github issues, so appologies for poor formatting. Thank you in advance for any help.
![image](https://user-images.githubusercontent.com/49800570/236693743-0015b421-3e86-485c-b9b7-4ec8cd6f6cdd.png)
The text was updated successfully, but these errors were encountered: