Knowledgebase : Technical Support > API > BackEnd API's/VBL > Backoffice API > Events
SYNTAX Public Event ManualUpdateOpenPosition(Ticket as Integer) DESCRIPTION The ManualUpdateOpenPosition is event trigger after executed the ManualUpdateOpenPositon [http://www.hybrid-solutions.com/support/Knowledgebase/Article/View/5733] with the tick...
SYNTAX Public Event DepartmentsResultReceived(Departments As CDepartments, Count As Integer) DESCRIPTION This event is fired after calling GetDepartments [https://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5611] method with ...
SYNTAX Public Event ChangedDealerParameterResultReceived(Result As String) DESCRIPTION This event is fired after calling ChangeDealerParameter [https://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5610] method with new value o...
SYNTAX Public Event DealerGeneralParameterResultReceived(NoRows As Boolean, DataArray() As String) DESCRIPTION This event is fired after calling GetGeneralDealerParam [https://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5607]...
SYNTAX Public Event DealerSymbolParameterResultReceived(NoRows As Boolean, DataArray() As String) DESCRIPTION This event is fired after calling GetSymbolDealerParam [https://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5609] m...
SYNTAX Public Event DealerPrivilegeParameterResultReceived(NoRows As Boolean, DataArray() As String) DESCRIPTION This event is fired after calling GetPrivDealerParam [https://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5608] ...
SYNTAX Public Event UpdateDealerResultReceived(Result As DealerResultEnum , DealerID As Integer) DESCRIPTION This event is fired after calling UpdateDealerInfo [https://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5606] with a...
SYNTAX Public Event CreateDealerResultReceived(Result As DealerResultEnum , DealerID As Integer) DESCRIPTION This event is fired after calling CreateDealer [https://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5605] with a dea...
SYNTAX Public Event NewCLientCreated (NewOrUpdateOrDelete As CreateClientEnum, Client As Integer, Account As Integer) DESCRIPTION This event is fired after making any operation (New/Update or delete) on the client(Client/Office or Group) or on the acco...
SYNTAX Public Event UpdatedClosedPositionResultReceived(result As DeleteHistoryEnum, TicketID As Integer) DESCRIPTION This event is fired by calling UpdateClosedPosition [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/542...
SYNTAX  Event ChangePasswordRecieved(Result As ChangePasswordEnum) DESCRIPTION This event is raised after calling ChangePassword [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5402] method , with the changing result. PA...
SYNTAX  Public Event AccountStatementsResultReceived(NoRows As Boolean, DataArray() As System.Array) DESCRIPTION This event is raised after requesting the account statement using the GetAccountStatement [http://www.hybrid-solutions.com/support/index.ph...
SYNTAX  Public Event SymbolsSettingsResultReceived (NoRows As Boolean, ArrayData () As System.Array, Count as Integer) DESCRIPTION This event is raised after requesting the symbols settings using the GetSymbolsSettings [http://www.hybrid-solutions.com/...
SYNTAX  Public Event TransferSymbolResultReceived (SymbolID As Integer, OldParentID As String, NewParentID As String) DESCRIPTION This event is raised by calling TransferSymbol [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/V...
SYNTAX Public Event CreateSymbolResultReceived (SymbolID As String, created As Boolean) DESCRIPTION This event is raised after calling CreateNewSymbol [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5324] and CreateGroupS...
SYNTAX  Public Event DeleteMoneyTransactionResultReceived(Result As DeleteHistoryEnum,Ticket As String) DESCRIPTION This event raises after calling DeleteMoneyTransaction [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/52...
SYNTAX  Public Event DeleteClosedPositionResultReceived (Result As DeleteHistoryEnum , OpenTicket As String, Ticket As String) DESCRIPTION This event raises after calling DeleteClosedPosition [http://www.hybrid-solutions.com/support/index.php?/Knowledg...
SYNTAX  Public Event DeleteOpenPositionResult (Ticket As Integer) DESCRIPTION This event will raise after calling DeleteOpenPosition [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5107] with the deleted ticket number. P...
SYNTAX  Public Event UpdateOpenPositionResult (Result As NewOrderResultEnum, Ticket As Integer, SysDate As String) DESCRIPTION This event will raise after calling UpdateOpenPosition [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Arti...
SYNTAX  Public Event ClientParametersRecieved(Parameters As CParameters, SymbolCount As Integer) DESCRIPTION This event will raise after calling GetClientParameters [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5103] wi...
SYNTAX  Public Event GeneralClientParamRecieved(ByVal AccountIDPrefixType As String, ByVal AccountIDPostfixType As String, ByVal AutoLiquidateType As Boolean, ByVal CommissionCalculationType As String, ByVal DailyStatementType As Boolean, ByVal EnableHed...
SYNTAX Public Event AccountHistoryReceived (AccountHistory As Collection) DESCRIPTION This event raises after calling GetAccountHistroy [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5101] and it passes the done entry tr...
SYNTAX  Event DeliveryItemUpdateFailed(ByRef SymbolID As Integer) DESCRIPTION This event fired when failed to update delivery item by UpdateDeliveryItem [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4734] method. PARAM...
SYNTAX  Event DeliveryItemAddFailed(ByRef SymbolID As Integer) DESCRIPTION This event fired when failed to add delivery item by AddDeliveryItem [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4733] method. PARAMETERS ...
SYNTAX  Event GroupInfoRecived(ByRef FName As String, ByRef Username As String, ByRef Password As String, ByRef ReadOnly As Boolean, ByRef Phone As String, ByRef Fax As String, ByRef Mobile As String, ByRef TelFax As String, ByRef POB As String, ByRef Em...
SYNTAX  Event OfficeInfoRecived(ByRef FName As String, ByRef Username As String, ByRef Password As String, ByRef WhiteLabeled As Boolean, ByRef Demo As Boolean, ByRef ReadOnly As Boolean, ByRef Phone As String, ByRef Fax As String, ByRef Mobile As String...
SYNTAX  Event SettledStatusSymbolChanged(StatusSymbol As CStatusSymbol, TotalNormalDeal As Double, TotalCovDeal As Double, TotalNormalSellLot As Double, TotalCovSellLot As Double, TotalNormalBuyLot As Double, TotalCovBuyLot As Double, TotalNetLots As Dou...
SYNTAX  Event SettledStatusSymbolAdded(StatusSymbol As CStatusSymbol, TotalNormalDeal As Double, TotalCovDeal As Double, TotalNormalSellLot As Double, TotalCovSellLot As Double, TotalNormalBuyLot As Double, TotalCovBuyLot As Double, TotalNetLots As Doubl...
SYNTAX  Event DeliveryResultReceived(Result As NewOrderResultEnum ) DESCRIPTION This event is fired after calling Deliver [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4737] method, with server response result. PARAMET...
SYNTAX  Event DeliveryItemUpdated(SymbolID As Integer, Item As CDeliveryItem) DESCRIPTION This event is fired after updated the delivery item successfully when calling UpdateDeliveryItem [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase...
SYNTAX  Event DeliveryItemDeleted (SymbolID As Integer, ItemID As String) DESCRIPTION This event is fired when deleted the delivery item successfully by calling DeleteDeliveryItem [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Articl...
SYNTAX  Event DeliveryItemAdded(SymbolID As Integer, Item As CDeliveryItem) DESCRIPTION This event is fired after added the delivery item successfully when calling AddDeliveryItem [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Articl...
SYNTAX  Event ClientInfoRecieved(FName As String, SName As String, TName As String, LName As String, Tel As String, Mobile As String, TelFax As String, Pop As String, Fax As String, Email As String, Address As String, Username As String, Password As Stri...
SYNTAX  Event NewPendingOrder (Order As COOrder) DESCRIPTION This event is fired when take a new pending order (Limit/ SLTP orders) with an order object.  PARAMETERS Parameter Description  Order Pending order object of type COOrder [http...
SYNTAX  Event UpdateGroupRecieved (ByRef Result As UpdateClientEnum) DESCRIPTION This event is raised after calling UpdateGroup [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4958] method with updating group result . PA...
SYNTAX  Event UpdateOfficeRecieved (ByRef Result As UpdateClientEnum) DESCRIPTION This event is raised after calling UpdateOffice [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4957] method with updating office result. ...
SYNTAX  Event UpdateClientRecieved (ByRef Result As UpdateClientEnum) DESCRIPTION This event is raised after calling UpdateClient [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4978] method with updating client result. ...
SYNTAX  Event UpdateAccountRecieved (ByRef Result As Integer, ByRef SysDate As String) DESCRIPTION This event is raised after calling UpdateAccount [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4955] method with number ...
SYNTAX  Event TransferResultRecieved (ByRef NewParentID As Integer, TransferClientID As Integer) This event is raised after calling TransferClient [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4231] method with new paren...
SYNTAX Event OrderTimedOut (ByRef OrderID As Integer) This event is raised when the timer is over to accept or reject chatting order. PARAMETERS Parameter Description OrderID Associated order number which timer is over, value of typ...
SYNTAX  Public Event OpenPositionAdded (Client As Integer, Account As Integer, Ticket As Integer ,Symbol As Integer, lots As Double, PosType As OperationTypeEnum, OpenPrice As Double, Interest As Double, Time As String, Note As String, IsFreezed As Boole...
SYNTAX  Event CloseByHedgeResultReceived (ByRef Result As NewOrderResultEnum, ByRef OpenTicket1 As Integer, ByRef OpenTicket2 As Integer) DESCRIPTION This event is raised after calling CloseByHedge [http://www.hybrid-solutions.com/support/index.php?/Kn...
SYNTAX  Event ChangeParamResult(ByRef NewVal As String) DESCRIPTION This event is raised after calling ChangeParam [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4003] method with a value of new parameter. PARAMETERS ...
SYNTAX Event ChartHistoryRecieved(SymbolID As Integer,Period As PeriodNoEnum ,NumbersOfBars As Integer,OpenValues() As Double , HighValues() As Double, LowValues() As Double, CloseValues() As Double, TimeValues() As String ) DESCRIPTION This Event is r...
Syntax  Event DeliveryItemsUpdated() This event is fire after calling  RequestDeliveryItem [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4736] method PARAMETERS  No Parameters -------------------------   SEE ALSO ...
SYNTAX Event OrderTimedOut(ByRef OrderID As Integer) DESCRIPTION This event is fire when a certain pending order exceeds its time. PARAMETERS Part Description OrderID Associated order number that exceeds its time    ---------------------...
SYNTAX  Event CreateGroupResult(ByRef Result As CreateClientResultEnum, ByRef TransTag As String) DESCRIPTION This event is fired after calling the CreateGroup [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4001] method ...
SYNTAX  Event CreateOfficeResult(ByRef Result As CreateClientResultEnum, ByRef TransTag As String) DESCRIPTION This event is fired after calling the CreateOffice [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4002] metho...
SYNTAX  Event ServerRouted(ByRef OldIP As String, ByRef NewIP As String) DESCRIPTION This event is raised when Backoffice session is redirected to another server IP. PARAMETERS Part Description OldIP Old IP address ,value of type is Stri...
SYNTAX  Event SymbolSettingsChanged(ByRef SymbolIDs() As String, ByRef Changed As Boolean) DESCRIPTION This event is raised when settings of a certain symbol had been changed using ChangeSymbolSettings [http://www.hybrid-solutions.com/support/index.php...
SYNTAX  Event ReceivingOrdersForNewAccounts() DESCRIPTION This event is raised when an order is received from an account that's information is not loaded by BO, in other words the account is created after loading all accounts details by BO. PARAMETERS...
SYNTAX  Public Event UpdateSLTPOrderResult(Result As NewOrderResultEnum, OrderID As Long, ServerTime As String, TransTag As String) DESCRIPTION This event is raised after calling the UpdateSLTPOrder [http://www.hybrid-solutions.com/support/index.php?/K...
SYNTAX  Public Event UpdateLimitOrderResult(Result As NewOrderResultEnum, OrderID As Long, ServerTime As String, TransTag As String) DESCRIPTION This event is raised after calling the UpdateLimitOrder [http://www.hybrid-solutions.com/support/index.php?...
SYNTAX  Event SwitchOrderResultReceived(OrderId As Integer,Result As SwitchOrderResultsEnum) DESCRIPTION This event is fired after calling SwitchOrder [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2948] method with a sw...
SYNTAX  Event SessionLogedON(ByRef LogedONSession As COnlineSession) DESCRIPTION This event is fired after connected session with session object for the connected session. PARAMETERS Part Description LogedOnSession Session object for th...
SYNTAX  Event SessionLogedOff(ByRef LogedOffSession As COnlineSession) DESCRIPTION This event is fired after disconnected session with Session object that had been disconnected. PARAMETERS Part Description LogedOffSession Session object ...
SYNTAX  Event ServerTime(ByRef STime As String) DESCRIPTION This event is raised for each 10 second to get server Time. PARAMETERS Part Description STime Time value from the server, value of type string. ------------------------- SEE A...
SYNTAX  Event NewSLTPOrderResult(Result As NewOrderResultEnum, OrderID As Long, ServerTime As String, TransTag As String) DESCRIPTION This event is raised after calling the NewSLTPOrder [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/...
SYNTAX  Event NewLimitOrderResult(Result As NewOrderResultEnum, OrderID As Long, ServerTime As String,TransTag As String) DESCRIPTION This event is raised after calling the NewLimitOrder [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase...
SYNTAX  Event DeleteSLTPOrderResult(ByRef Result As NewOrderResultEnum, ByRef OrderIds As String,TransTag As String) DESCRIPTION This event is raised after calling the DeleteSLTPOrde [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Art...
SYNTAX  Event DeleteLimitOrderResult(ByRef Result As NewOrderResultEnum,ByRef OrderIds As String,TransTag As String) DESCRIPTION This event is raised after calling DeleteLimitOrde [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Articl...
SYNTAX  Event ChatStatus(ByRef ChatOn As Boolean) This event fire when the chat status has been changed.Or after calling SwitchChat [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2071] method PARAMETERS Part Descr...
SYNTAX  Public Event CreateAccountResult (Result As CreateAccountResultEnum,TransTag As String, AccountID As Integer) DESCRIPTION This event fire after calling the CreateAccount [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/...
SYNTAX  Event CreateClientResult(Result As CreateClientResultEnum, Tag As String) DESCRIPTION This event fire after calling the CreateClient [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2081] method with creating clien...
SYNTAX  Event MoneyTransResultReceived(Done As Boolean,TicketID As Integer) DESCRIPTION This event is raised after calling MoneyTrans [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2133] property with result and transact...
SYNTAX Event TransactionLog(ByRef ClientID As Integer,ByRef AccountID As Integer,ByRef TicketOrder As Integer, ByRef Trans As Short,ByRef TransType As Short,ByRef TransSubType As Short,ByRef IP As String,ByRef Amount As Double ,ByRef WhoType As Short,ByR...
SYNTAX  Event UpdateOpenPosition(Pos As VertexFXBOAPI.COOpenPosition) DESCRIPTION This event is raised when an open position has been updated in the case of closing part of its overall amount. PARAMETERS Part Description  Pos Object of ...
SYNTAX  Event PosFloatingPLChanged(Pos As COOpenPosition) This event is raised when a position floating profit loss is changed. PARAMETERS Part Description  Pos Object of type COOpenPosition [http://www.hybrid-solutions.com/support/index...
SYNTAX  Event PendingOrdersLoaded() DESCRIPTION This event is raised when all of the pending orders for the selected account are loaded. PARAMETERS No parameters. REMARKS   To know that all of the pending orders have been loaded. -----------------...
SYNTAX Event OpenPositionsLoaded() Raise when all of the open positions for the selected account are loaded. PARAMETERS No parameters. REMARKS   To know that all of the open positions have been loaded if you want to make any action depends on the op...
SYNTAX  Public Event NewPosResult(Result As NewOrderResultEnum, OpenTicket As Integer, TransTag As String) DESCRIPTION This event fire after calling the NewPosition [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2068] me...
SYNTAX  Event NewOpenPosition(Pos As COOpenPosition) DESCRIPTION Raise when you have a new open position for the selected account and after calling NewPosition [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2068] method ...
SYNTAX  Event DeleteOpenPosition(pos As VertexFXBOAPI.COOpenPosition) DESCRIPTION Raise when an open position has been closed for its entire overall amount. PARAMETERS Part Description  pos  Position object that had been deleted ,value o...
SYNTAX  Event ClosePosResult(ByRef Result As NewOrderResultEnum, ByRef OpenTicket As Integer, TransTag as String , CloseTicket As Integer) DESCRIPTION This event fires after calling the ClosePosition [http://www.hybrid-solutions.com/support/index.php?/...
SYNTAX  Event SendSMSResultReceived(Result As SendSMSResultsEnum) DESCRIPTION Fire when receiving a report from the server for sending an SMS after calling the sendSMS [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2074]...
SYNTAX  Event ReportDataReceived(ByRef NoRows As Boolean, ByRef Data() As System.Array) DESCRIPTION Fire when receive a data report from server after calling any reports method. PARAMETERS Part Description  NoRows Used to detect if an e...
SYNTAX Event SummariesChanged(Balance As Double, FltPL As Double, Credit As Double, Equity As Double, MarginReq As Double, MarginLevel As Double, EffMargin As Double) DESCRIPTION This event fire when summary for selected account changed. PARAMETERS ...
SYNTAX  Public Event RejectResultReceived(OrdIds As String, Result As AcceptResultsEnum)  This event raise when then result received the result from server after calling the RejectOrder [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/A...
SYNTAX  Event FloatingStatusSymbolDeleted(StatusSymbol As CStatusSymbol , TotalNormalDeal As Double, TotalCovDeal As Double, TotalNormalSellLot As Double, TotalCovSellLot As Double, TotalNormalBuyLot As Double, TotalCovBuyLot As Double, TotalNetLots As D...
SYNTAX  Event FloatingStatusSymbolChanged(StatusSymbol As CStatusSymbol, TotalNormalDeal As Double, TotalCovDeal As Double, TotalNormalSellLot As Double, TotalCovSellLot As Double, TotalNormalBuyLot As Double, TotalCovBuyLot As Double, TotalNetLots As Do...
SYNTAX  Event FloatingStatusSymbolAdded(StatusSymbol As CStatusSymbol, TotalNormalDeal As Double, TotalCovDeal As Double, TotalNormalSellLot As Double, TotalCovSellLot As Double, TotalNormalBuyLot As Double, TotalCovBuyLot As Double, TotalNetLots As Doub...
SYNTAX  Event FloatingStatusPricesChanged(ByRef StatusSymbol As CStatusSymbol, ByRef TotalNormalDeal As Double, ByRef TotalCovDeal As Double, ByRef TotalNormalSellLot As Double, ByRef TotalCovSellLot As Double, ByRef TotalNormalBuyLot As Double, ByRef To...
SYNTAX  Public Event ChatOrderRecieved(MarketOrLimitOrder As MarketOrLimitOrderEnum, AccountID  As Integer, OrderID As Integer, NewOrLiq As NewOrLiquidateEnum, BuySell As OperationTypeEnum,  Lots As Double, SymbolID As Integer, Price As Double, OpenPrice...
SYNTAX  Public Event AcceptResultReceived(OrdId As String,Ticket As String ,Result As AcceptResultsEnum) DESCRIPTION This event raise when receive the result from server after calling the Accept Order [http://www.hybrid-solutions.com/support/index.php?...
SYNTAX  Event WaitingMode(ByRef Mode As HSClientDLL.WaitingModeEnum) DESCRIPTION This event is raised when the waiting mode state of the API changes. PARAMETERS Part Description  Mode_ _ Current connection mode. Value of type HSClientDLL...
SYNTAX  Event SymbolHighLowChanged(ByRef Symbol As VertexFXBOAPI.COSymbol) This event is raised upon the change of the high and low prices of a specific symbol. PARAMETERS Part Description  Symbol Symbol Prices that had been changed ,Valu...
SYNTAX Event SymbolPricesChanged(ByRef Symbol As VertexFXBOAPI.COSymbol) DESCRIPTION This event is raised when the new prices for a specific symbol are received by the API. PARAMETERS Part Description  Symbol Prices symbol which had been...
SYNTAX Event SessionDisconnected() This event is raised when a session is disconnected and another session connects. PARAMETERS No parameter. REMARKS   You can use this event to handle client session disconnection. ------------------------- SEE AL...
SYNTAX Event InvalidUsernamePassword() DESCRPITON This event is raised after the Login [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/1979] method when you have unsuccessful login because invalid username/password. PARA...
SYNTAX  Event ConnectionState(ByRef IsConnected As Boolean) This event is raised after login or disconnect methods are executed. PARAMETERS Part Description  IsConnected A boolean value. Set to true if connected and set to false if discon...
SYNTAX Event AllDataAreLoaded() This event is raised when the API loads all data after the Login [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/1979] method is called. PARAMETERS No parameters. REMARKS   By this event...
Help Desk Software by Hybrid Solutions