Knowledgebase:
Busy
Posted by Yousef Ibrahim, Last modified by Mohammad Rahhal on 24 August 2016 01:56 PM
Public Property Busy As Boolean

This property may be called when you want to notify the bridge that your LP is busy and it can not execute any new orders.

In NewMarketOrder and NewLimitOrder functions there is a prameter called BOOrderID that should be returned back when receiving the server responses for the orders in calling:

MyBase.OrderState.MarketOrderIDReceived(Your LP Order ID, BO Order ID)

or 

MyBase.OrderState.LimitOrderAccepted(Your LP Order ID, BO Order ID)

In order to match this BOOrderID with LP order id, at this level the bridge will set the Busy to False automatically.

In the fast orders execution, when you could not manage sending the matched order ID, you may need to set the Busy property to True.

NOTE:

It is not recommended to call this property, since it will slow down the bridge. 


See Also

(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions