Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error on requesting bars series

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error on requesting bars series

    Hi I am running into the following error when requesting BarSeries from TD Ameritrade in the morning. (When their system is busy). These are for Hot List Analyzer custom columns.


    Time Category Message
    1/10/2020 8:46:14 AM NinjaScript jmnetoRelVolume CalculateAverageVolumeAsync: jmnetoRelVolume Error on requesting bars: Panic, gService FAILED getting Price History, REASON: NestedSQLException: No ManagedConnections available within configured blocking timeout ( 5000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 5000 [ms] ))The system is temporarily unavailable, please try your request again later. The remote server returned an error: (400) Bad Request.


    Time Category Message
    1/10/2020 8:46:14 AM NinjaScript jmnetoAvgVolume CalculateAverageVolumeAsync: jmnetoAvgVolume Error on requesting bars: Panic, gService FAILED getting Price History, REASON: NestedSQLException: No ManagedConnections available within configured blocking timeout ( 5000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 5000 [ms] ))The system is temporarily unavailable, please try your request again later. The remote server returned an error: (400) Bad Request.


    Time Category Message
    1/10/2020 8:46:14 AM Default Error on requesting bars series: 'gService FAILED getting Price History, REASON: NestedSQLException: No ManagedConnections available within configured blocking timeout ( 5000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 5000 [ms] ))The system is temporarily unavailable, please try your request again later. The remote server returned an error: (400) Bad Request.'


    Is there any way to increase these blocking timeouts? Or the error "
    The remote server returned an error: (400) Bad Request.'" is actually what is causing all the issue and is unrecoverable?

    #2
    Hello jmneto,

    Thanks for your post.

    Is this error being retrieved after performing a BarsRequest, or are you adding data using IsDataSeriesRequired/AddDataSeries in the Market Analyzer Column?

    I would also like to review your complete log and trace files for this error to get a more complete understanding of what had happened before providing any further insight.

    Could you email me your log and trace files at platformsupport [at] ninjatrader [dot] com? Please include the text "Attn Jim 2386701" and a link to this thread. Please also include an example script that demonstrates how you are requesting data. Other code can be removed for this example script.

    I look forward to assisting.

    Comment


      #3
      Hi Jim, I have emailed you the Code + Logs + Traces. Thank you!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      82 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      43 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      64 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      68 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      56 views
      0 likes
      Last Post CarlTrading  
      Working...
      X