- ago
While switching screens I just happened to see during todays Data Manager update a message;
CODE:
Not enough memory resources are available to process this command.

the interesting part, is there was plenty of memory available.
however, in the middle of a span of 10 minute data points showing this message, there was a single data point provided. Then it returned to streaming the data.
CODE:
Updating Scale: 10 Minute CIM      Not enough memory resources are available to process this command. ... AKA      Not enough memory resources are available to process this command. AMPE      Not enough memory resources are available to process this command. BECN      Not enough memory resources are available to process this command. CPSI      Not enough memory resources are available to process this command. ELF      Not enough memory resources are available to process this command. DRRX      7,614   4/27/2023   4:10 PM    IKNA      Not enough memory resources are available to process this command. MRC      Not enough memory resources are available to process this command. PRDO      Not enough memory resources are available to process this command. TCRT      Not enough memory resources are available to process this command. ...

Thought I'd put it out here in case there is a known reason, or at least to provide others with the responses. Thanks
0
587
5 Replies

Reply

Bookmark

Sort
Glitch8
 ( 10.62% )
- ago
#1
Hmmm never seen this personally, what data provider was this?
0
- ago
#2
I am pretty sure it was TD Ameritrade. In the process of troubleshooting, I restarted the App. Manually selected each provider. TDA was the only one freaking out.
re-Auth and the data are now streaming in. however, should these patterns in the log be expected?
I get data that is only updating to 4/27. Where in the middle of updated data, there is stale (not sure what else to call them) data.

Updating Provider: TD Ameritrade
Updating Scale: Daily

CODE:
... RS      7,210   5/5/2023   6 bars added GTLS      4,225   5/5/2023   6 bars added TRUP      2,207   4/21/2023    TPTX      840   8/16/2022    GPRO      2,226   4/27/2023    RRC      7,640   4/27/2023    GPRE      4,291   4/27/2023    TTC      7,750   4/27/2023    GOLF      1,635   4/27/2023    ...



Another one is this type.
CODE:
R      3,301   5/5/2023   10 bars added HE      7,756   5/5/2023   6 bars added CMCSA      7,623   5/5/2023   6 bars added PBF      2,605   5/5/2023   6 bars added AEVA      One or more errors occurred. (A task was canceled.) VCEL      One or more errors occurred. (A task was canceled.) RTX      One or more errors occurred. (A task was canceled.) SFIX      1,375   5/5/2023   6 bars added PARA      1,346   5/5/2023   6 bars added ALT      6,239   5/5/2023   6 bars added UFPI      One or more errors occurred. (A task was canceled.) DH      One or more errors occurred. (A task was canceled.) ALVR      One or more errors occurred. (A task was canceled.) ESRT      One or more errors occurred. (A task was canceled.) EB      One or more errors occurred. (A task was canceled.) BOC      One or more errors occurred. (A task was canceled.) VERI      One or more errors occurred. (A task was canceled.) GTY      One or more errors occurred. (A task was canceled.) EFSC      One or more errors occurred. (A task was canceled.) OFLX      One or more errors occurred. (A task was canceled.) CASA      One or more errors occurred. (A task was canceled.) CCCC      One or more errors occurred. (A task was canceled.) AL      One or more errors occurred. (A task was canceled.) GWRS      One or more errors occurred. (A task was canceled.) CHUY      One or more errors occurred. (A task was canceled.) PBH      4,592   5/5/2023   6 bars added MMI      2,394   5/5/2023   6 bars added
0
Cone8
 ( 4.98% )
- ago
#3
Although doing a bulk update of TDA generally worked for me, these errors popped up in the Log Viewer -

CODE:
"5/6/2023 13:38:26:649"   "TD Ameritrade"   "Too many requests, try using fewer symbols in TD data requests."    "5/6/2023 13:41:20:027"   "TD Ameritrade"   "An unexpected server error occurred."    "5/6/2023 13:42:42:166"   "TD Ameritrade"   "Too many requests, try using fewer symbols in TD data requests."
Our TDA provider tries the throttle requests per the API specs but edge cases seem to pop up occasionally.

I don't have any idea what's happening with your experience, except that perhaps you're machine just doesn't have sufficient memory to do all the task you require of it. We recommend 16GB RAM minimum.

Also, if there's more info about the errors in the Log Viewer (Ctrl+L), it may be helpful to know about it.
0
- ago
#4
Yes I have 32 GB, and 19 used at the time.
Below are the error from today's update. I understand the throttling.
Have you or anyone seen a WAF block from TDA?
note not frustrated, just curious to fine tune this. I will also reach out to TDA.
CODE:
Timestamp   Source   Message   Exception "5/6/2023 06:46:18:503"   "TD Ameritrade"   "TD Ameritrade Broker: Error: One or more errors occurred. (A task was canceled.)"   "One or more errors occurred. (A task was canceled.) Inner Exception: A task was canceled." "5/6/2023 07:07:55:180"   "TD Ameritrade"   "Too many requests, try using fewer symbols in TD data requests."    "5/6/2023 08:35:41:777"   "TD Ameritrade"   "<!DOCTYPE html> <html> <head> <title>Application Firewall Error</title> <style type=text/cssmedia=screen> body { font-family: Arial, Garamond, sans-serif; padding: 40px; background-color: #333333; } #container {width: 65%; padding: 20px 40px; border: 1px solid #353535; margin: 0 auto; background-color: #ffffff;} table { margin-top: 45px; } table tr td { padding: 7px; } </style> <script type=text/javascriptcharset=utf-8> var d = new Date(); var bodyVars =; bodyVars +=Session ID: N/A%0D%0D; bodyVars +=Event ID: ????????????????????%0D%0D; bodyVars +=Host: api.tdameritrade.com%0D%0D; bodyVars +=Time:+d+%0D%0D; var mailLink =<a href='mailto:clientservices@tdameritrade.com?subject=WAF Block Page: ????????????????????&body=+bodyVars+'>clientservices@tdameritrade.com</a> for assistance.;    var mailTDAAsiaLink =<a href='mailto:clientservices@tdameritrade.com?subject=WAF Block Page: ????????????????????&body=+bodyVars+'>help@tdameritradeasia.com</a> for TDA Asia assistance.; </script> </head> <body> <div id=container> <img alt=TD Ameritrade Logosrc=<a href="https://www.tdameritrade.com/images/new-home/footer/ameritradeSmallLogo.png" target="_blank">https://www.tdameritrade.com/images/new-home/footer/ameritradeSmallLogo.png</a>> <p><strong>Your request has been blocked.</strong> If you feel you have been blocked in error, please contact support at +1 (800) 669-3900 or    <script type=text/javascriptcharset=utf-8> document.write(mailLink); </script>        For TDA Asia support, please contact help at (+65) 6823 2250 or    <script type=text/javascriptcharset=utf-8> document.write(mailTDAAsiaLink); </script>        If the link does not work, please copy and paste all of the information below into an email to clientservices@tdameritrade.com or help@tdameritradeasia.com. Please record or keep this page open so you may reference the event ID below. Thank you. </p> <table> <tr> <td>Event ID:</td> <td>????????????????????</td> </tr>    <tr> <td>Session ID:</td> <td>N/A</td> </tr> <tr> <td>Host:</td> <td>api.tdameritrade.com</td> </tr> <tr> <td>Timestamp:</td> <td> <script type=text/JavaScript> document.write(d); </script> </td> </tr> <tr> </td> </tr> </table> </div> <p>&nbsp;</p> <p>&nbsp;</p> <script type=text/javascriptcharset=utf-8> document.write('<p style=text-align:center;><input type=buttonvalue=Return to Previous Pageonclick=javascript: history.go(-1);return false;/></p>'); </script> </body> </html>"    "5/6/2023 08:36:01:884"   "TD Ameritrade"   "Too many requests, try using fewer symbols in TD data requests."   

I did remove the page reference just in case.
0
Cone8
 ( 4.98% )
- ago
#5
I've never seen a WAF error. You're probably just requesting too much data and you'll have to talk to TDA about that. Generally, broker providers are set up to give you the data you need to trade with - not the data for backtesting entire markets.

Which build of the TD Broker extension are you using? Check Tools > Home Page > Versions. You should be using the current version, build 13.

Note, that WealthLab comes with QData, which gives you daily data for the U.S. Market, source from various providers including Wealth-Data.
1

Reply

Bookmark

Sort