Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    May 2014
    Posts
    142

    Default Unable to get a quote due to bad connection, Please try again VTL Error

    Hello,

    From a VTL auto trader sending 5 to 8 limit orders at the same time using a loop, then this error is displayed in log Unable to get a quote due to bad connection, Please try again

    Also this can happen when some position is closed or limit order is deleted. Is there a method exists in VTL to know this error happened. Tried onOrderTrade, OnPositionTrade etc, they seems to be not at all firing
    And the order send function return true.

    Thanks

  2. #2
    Administrator Moath-HS's Avatar
    Join Date
    Sep 2020
    Posts
    4

    Default

    Quote Originally Posted by Edakad View Post
    Hello,

    From a VTL auto trader sending 5 to 8 limit orders at the same time using a loop, then this error is displayed in log Unable to get a quote due to bad connection, Please try again

    Also this can happen when some position is closed or limit order is deleted. Is there a method exists in VTL to know this error happened. Tried onOrderTrade, OnPositionTrade etc, they seems to be not at all firing
    And the order send function return true.

    Thanks
    Dear Edakad,

    We solve the raise event issue in current version, These events (onOrderTrade, And OnPositionTrade) will be fired when trying to take orders or positions. and regarding sending 5 to 8 limit orders at the same time using a loop this is not the best way to open many orders so you need to open one order per time and wait the event that raised when get response then you can open the another one.

    kindly note that please install the latest version of client terminal.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Duration of connection established with data server
    By abdulaziz in forum VertexFX API/VTL Forum
    Replies: 5
    Last Post: 08-22-2015, 11:53 AM
  2. Unable to add DLL References
    By talib in forum VertexFX API/VTL Forum
    Replies: 2
    Last Post: 01-09-2014, 09:54 AM
  3. BOAPI Connection using Windows 7
    By mercury in forum VertexFX API/VTL Forum
    Replies: 5
    Last Post: 06-02-2011, 11:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •