Knowledgebase : Technical Support > API > BackEnd API's/VBL > VertexFX Bridge Language > Data Types > VFXBO > Overridden Methods
Syntax Public Overrides Function LoginHistoryReport( ByRef ClientID As Integer , ByRef FromDate As String, ByRef ToDate As String, ByRef IP As String, ByRef API As Integer, ByRef Username As String, ByRef succeededFailed As Integer, ByRef WhoType As Inte...
Syntax Public Overrides Function MarketOrdersHistoryReport(ByRef ClientID As Integer , ByRef FromDate As String, ByRef ToDate As String, ByRef OrderID As Integer, ByRef Ticket As Integer, ByRef AccountID As Integer, ByRef transType As String, ByRef Order...
Syntax Public Overrides Function PendingOrdersReport(ByRef ClientID As Integer , ByRef FromDate As String, ByRef ToDate As String, ByRef AccountId As Integer, ByRef OrderType As Integer, ByRef lots As Double, ByRef SymbolID As Integer, ByRef Price As Dou...
Syntax Public Overrides Function DetailedOpenPositionsReport(ByRef ClientID As Integer , ByRef AccountType As Integer, ByVal SymbolID As Integer, ByVal PositionType As Integer) As TransResult This function is used to get detailed open positions report w...
Syntax Public Overrides Function NetOpenPositionsReport(ByRef ClientID As Integer , ByRef AccountType As Integer, ByVal SymbolID As Integer, ByVal PositionType As Integer) As TransResult This function is used to get the net open positions report which s...
Syntax Public Overrides Function MaintenanceMarginCallReport(ByRef ClientID As Integer) As TransResult This function is used to get the maintenance margin call report which shows the close account(s) to liquidate. If the effective margin gets less than ...
Syntax Public Overrides Function AccountInformationReport(ByRef ClientID As Integer) As TransResult This function is used to get the account information report which shows the information for all accounts under the client. After AccountInformationReport...
Syntax Public Overrides Function AccountStatusReport(ByRef ClientID As Integer,ByRef AccountType As Integer) As TransResult This function is used to show the account status for all accounts under the given client. After AccountStatusReport executes the ...
Syntax Public Overrides Function MoneyTransactionsReport(ByRef ClientID As Integer,ByRef TransactionType As Integer, ByRef fromDate As String, ByRef ToDate As String) As TransResult This function is used to get the money transaction report which shows a...
Syntax Public Overrides Function SMSReport(ByRef ClientID As Integer, ByRef fromDate As String, ByRef ToDate As String) As TransResult This function is used to get the SMS report which shows the details of each SMS sent in the whole system or for a cert...
Syntax Public Overrides Function SymbolLotsReport(ByRef ClientID As Integer, ByRef fromDate As String, ByRef ToDate As String) As VertexFXBridgeAPI.TransResult This function is used to get the symbol lots report which shows the net closed positions on e...
Syntax Public Overrides Function SymbolTypesReport (ClientID As Integer, ByRef fromDate As String, ByRef ToDate As String) As TransResult This function is used to get the symbol type report which shows the net closed positions for the symbol types (Spot...
Syntax Public Overrides Function transactionsLogReport (ByRef clientID As Integer, ByRef FromDate As String, ByRef ToDate As String, ByRef TicketOrder As Integer, ByVal Trans As Integer, ByRef TransType As Integer, ByVal Account As Integer, ByVal BuySell...
Syntax Public Overrides Function ManualDeleteSLTPOrder (ByVal AccountID As Integer, ByVal OrderID As Integer) As VertexFXBridgeAPI.TransResult This function is used to delete a manage order for a specific account number. After ManualDeleteSLTPOrder meth...
Syntax Public Overrides Function ManualUpdateSLTPOrder (ByVal AccountID As Integer, ByVal OrderID As Integer, ByVal lots As Double, ByVal OrderType As VertexFXBridgeAPI.OperationTypeEnum, ByVal SymbolName As String, Optional ByVal SL As Object = "", Opti...
Syntax Public Overrides Function ManualNewSLTPOrder (ByVal AccountID As Integer, ByVal Ticket As Integer, ByVal Lots As Double ,ByVal OrderType As VertexFXBridgeAPI .OperationTypeEnum , ByVal SymbolID As String , Optional ByVal SL As Object = "" , Option...
Syntax Public Overrides Function ManualDeleteLimitOrder (ByVal AccountID As Integer, ByVal OrderID As Integer) As VertexFXBridgeAPI.TransResult This function is used to cancel an entry order for a specific account number. After ManualDeleteLimitOrder me...
Syntax Public Overrides Function ManualUpdateLimitOrder (ByVal AccountID As Integer, ByVal OrderID As Integer, ByVal OrderType As VertexFXBridgeAPI.OperationTypeEnum, ByVal Lots As Double, ByVal SymbolName As String, ByVal NewPrice As Double, Optional By...
Syntax Public Overrides Function ManualNewLimitOrder (ByVal AccountID As Integer, ByVal OrderType As VertexFXBridgeAPI.OperationTypeEnum, ByVal SymbolID As Integer,ByVal Lots As Double, ByVal AtPrice As Double, Optional ByVal SL As Object = "", Optional ...
Syntax Public Overrides Function RejectMultipleOrders (ByVal BOOrderIDs As String) As VertexFXBridgeAPI.TransResult This function is used to reject multiple clients orders, After RejectMultipleOrders method executes the BORejectResultRecievied [http://w...
Syntax Public Overrides Function AcceptMultipleOrders (ByVal BOOrderIDs As String) As VertexFXBridgeAPI.TransResult This function is used to accept multiple clients orders; after AcceptMultipleOrders method executes the BOAcceptResultRecievied [http://w...
SYNTAX Public Overrides Function RejectRequotedOrder(ByVal OrderID As String) As TransResult DESCRIPTION This function should reject re-quoted order with the LP, this will return an object of type TransResult [http://www.hybridsolutions.com/support/ind...
SYNTAX Public Overrides Function AcceptRequotedOrder(ByVal OrderID As String,ByVal NewPrice As Double)As TransResult DESCRIPTION This function should accept re-quoted order with the LP, this will return an object of type TransResult [http://www.hybrids...
SYNTAX Public Overrides Function CloseByHedge(ByVal LPOrderID1 As String, ByVal LPOrderID2 As String, ByVal BuySell1 As OperationType, ByVal BuySell2 As OperationType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LPAccountID As String, ByV...
SYNTAX  Public Overrides Function CloseMarketOrder (ByVal LPOrderID As String, ByVal BuySell As OperationType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LPAccountID As String, ByVal BOOrderID As String, ByVal BOAccountID As String, ByVa...
SYNTAX Public Overrides Function NewSLTPOrder(ByVal LPOrderID As String, ByVal BuySell As OperationType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LPAccountID As String, ByVal BOOrderID As String, ByVal BOAccountID As String, Optional B...
SYNTAX Public Overrides Function DeleteSLTPOrder(ByVal LPOrderID As String, ByVal BuySell As OperationType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LPAccountID As String, ByVal BOOrderID As String, ByVal BOAccountID As String) As Tran...
SYNTAX  Public Overrides Function UpdateSLTPOrder(ByVal LPOrderID As String, ByVal BuySell As OperationType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LPAccountID As String, ByVal BOOrderID As String, ByVal BOAccountID As String, Option...
SYNTAX  Public Overrides Function DeleteLimitOrder(ByVal LPOrderID As String, ByVal LOType As LimitOrderType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LPAccountID As String, ByVal BOOrderID As String, ByVal BOAccountID As String) As Tr...
SYNTAX Public Overrides Function UpdateLimitOrder(ByVal LPOrderID As String, ByVal LOType As LimitOrderType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LimitPrice As Double, ByVal LPAccountID As String, ByVal BOOrderID As String, ByVal B...
Syntax Public Overrides Function UpdateLimitOrder(ByVal OrderID As Long, ByVal Lots As Double, ByVal NewPrice As Double, Optional ByVal SL As Object = "", Optional ByVal TP As Object = "") As TransResult This function is used to update updating a limit/...
Syntax Public Overrides Function UpdateSLTPOrder(ByVal OrderID As Long, ByVal Lots As Double, Optional ByVal SL As Object = "", Optional ByVal TP As Object = "") As TransResult This function is used to update an SL/TP order. PARAMETERS Key Descr...
Syntax Public Overrides Function SwitchOrder(ByVal OrderID As Integer) As TransResult This function is used to pass the order to another available dealer, and returns an integer value of type TransResult [http://www.hybridsolutions.com/support/index.php...
Syntax Public Overrides Function StopOffset(ByVal SymbolName As String) As Double This function is used to returns the Stop Offset for specific symbol. PARAMETERS Key Description  SymbolName Symbol name of type string -------------------...
Syntax Public Overrides Function Spread(ByVal SymbolName As String) As Double This function is used to return the spread for specific symbol. PARAMETERS Key Description  SymbolName Symbol name of type string ------------------------- SE...
Syntax Public Overrides Function ServerGMTOffset() As Double This function is used to retrieve the server GMT offset as a value of type double. PARAMETERS No parameters. ------------------------- SEE ALSO * Spread [http://www.hybridsolutions.com/...
Syntax Public Overrides Function SendSMSToSelectedAccount(ByVal SMSText As String) As TransResult This function is used to send SMS to the already selected account. PARAMETERS Key Description  SMSText Body of the SMS --------------------...
Syntax Public Overrides Function SendSMS(ByVal AccountID As Long, ByVal SMSText As String) As TransResult This function is used to send SMS to a specific client. PARAMETERS Key Description  AccountID Account ID of the client you want to s...
Syntax Public Overrides Function SelectAccount(ByVal AccountID As Long) As TransResult This function is used to select an account and load its pending orders and open positions. PARAMETERS Key Description  AccountID AccountID of type long...
Syntax Public Overrides Function RootID() As Long This function is used to get the ID of the main accounts tree node. PARAMETERS No parameters. REMARKS You can use this property when you need the ID of the main accounts tree node for the connected d...
Syntax Public Overrides Function OrderSymbol(ByVal OrderID As Long)As Symbol This function is used to return the symbol for a specific order. PARAMETERS Key Description  OrderID ID for the order you want to know the symbol using it REMAR...
Syntax Public Overrides Function OrderOpenPrice(ByVal OrderID As Long)As Double This function is used to know the open price for specific order. PARAMETERS Key Description  OrderID Value of type long REMARKS If you want to retrieve an o...
Syntax Public Overrides Function OrderLots(ByVal OrderID As Long)As Double This function is used to know the amount of lots for a specific order. PARAMETERS Key Description  OrderID ID for the order you want to know its lots amount REMAR...
Syntax Public Overrides Function OrderHitPrice(ByVal OrderID As Long)As Double This function is used to know the order hit price. PARAMETERS Key Description  OrderID Value of type long REMARKS You can use this function to know the order...
Syntax Public Overrides Function OrderBuySell(ByVal OrderID As Long)As OperationTypeEnum This function is used to recognize if your order type is Buy, Sell, BuyStop or SellStop. PARAMETERS Key Description  OrderID ID for the order you wan...
Syntax Public Overrides Function OpenPositionsCount()As Long This function is used to inform you about the open positions count. PARAMETERS No parameters. REMARKS In the case you want to know how many open positions you have you can use this propert...
Syntax Public Overrides Function OpenPositionByTicket(ByVal TicketID As Long)As Position This function is used to get the open positions by ticket ID. PARAMETERS Key Description  TicketID Value of type Long REMARKS You can get any open ...
Syntax Public Overrides Function OpenPositionByIndex(ByVal Index As Short)As Position This function is used to get the open positions by index. PARAMETERS Key Description  Index Value of type short REMARKS If you want to list all the op...
Syntax Public Overrides Function OnlineSessions()As VBA.Collection This function is used to retrieve the collection of online sessions [http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/4126]. PARAMETERS No parameters. ----...
Syntax Public Overrides Function NewSLTPOrder(ByVal Ticket As String, ByVal Lots As Double, Optional ByVal SL As Object = "", Optional ByVal TP As Object = "")As TransResult This function is used to create new SL/TP order. PARAMETERS Key Descrip...
Syntax Public Overrides Function NewLimitOrder(ByVal OrderType As LimitOrderType, ByVal SymbolID As long, ByVal Lots As Double, ByVal AtPrice As Double, Optional ByVal SL As Object = "", Optional ByVal TP As Object = "")As TransResult This function is u...
Syntax Public Overrides Function MinimumAmount(ByVal SymbolName As String)As Double This function is used to return the minimum amount per deal for specific symbol. PARAMETERS Key Description  SymbolName The symbol name of type string Sa...
Syntax Public Overrides Function MaximumAmount(ByVal SymbolName As String)As Double This function is used to return the maximum amount per deal for specific symbol. PARAMETERS Key Description  SymbolName The symbol name of type string Sa...
Syntax Public Overrides Function LimitOffset(ByVal SymbolName As String)As Double This function is used to return the Limit Offset for specific symbol. PARAMETERS Key Description  SymbolName The symbol name of type string Sample Public ...
Syntax Public Overrides Function isChild(ByVal ClientID As Long, ByVal ParentID As Long)As Boolean This function is used to check if the client is child of office or group. PARAMETERS Key Description  ClientID ID of the client ParentI...
Syntax Public Overrides Function GMTOffset()As Double This function is used to retrieve the GMT offset as a value of type double. PARAMETERS No parameters. ------------------------- SEE ALSO * isChild [http://www.hybridsolutions.com/support/index...
Syntax Public Overrides Function FirstWhiteLabel()As Long This function is used to retrieve the ID of white label that the dealer belongs to. PARAMETERS No parameters. ------------------------- SEE ALSO * GMTOffset [http://www.hybridsolutions.com...
Syntax Public Overrides Function DeleteSLTPOrder(ByVal OrderID As Long)As TransResult This function is used to delete an SL/TP orders. PARAMETERS Key Description  OrderID Value of type long Sample  Public Sub BOChatOrderReceived (ByVal ...
Syntax Public Overrides Function DeleteLimitOrder(ByVal OrderID As Long)As TransResult This function is used to delete a limit/stop order. PARAMETERS Key Description  OrderID Value of type long Sample Public Sub NewLimitOrderResult (ByV...
Syntax Public Overrides Function DealerUsername(ByVal DealerID As Long)As String This function is used to get dealer's username by his ID. PARAMETERS Key Description  DealerID ID of the Dealer REMARKS Used to retrieve dealer's username ...
Syntax Public Overrides Function ClosePosition(ByVal AccountID As Long, ByVal Ticket As Long, ByVal Amount As Double, ByVal Price As Double, ByVal RefPrice As Double, ByVal Comm As Double)As TransResult This function is to close an open position at a sp...
Syntax Public Overrieds Function ClientSymbol(ByVal SymbolName As String, ByVal AccountID As Long)As Symbol This function takes the symbol ID and account ID, and returns an object of type Symbol with client spread. PARAMETERS Key Description  ...
Syntax Public Overrides Function ClientsCount()As Long This function gets the number of clients as a value of type long. PARAMETERS No Parameters. ------------------------- SEE ALSO * ClientSymbol [http://www.hybridsolutions.com/support/index.php...
Syntax Public Overrides Function ClientByIndex(ByVal Index As Integer)As Client This function returns the client of the given index number. PARAMETERS Key Description  Index Value of type integer ------------------------- SEE ALSO * ...
Syntax Public Overrides Function ClientByID(ByVal ID As Long)As Client This function returns the client with the given ID. PARAMETERS Key Description  ID Value of type long ------------------------- SEE ALSO * ClientByIndex [http://w...
Syntax Public Overrides Function ChatOrdersCount()As Long This function retrieves the orders number those existing in the chatting screen. PARAMETERS No parameters. ------------------------- SEE ALSO * ClientByID [http://www.hybridsolutions.com/s...
Syntax Public Overrides Function ChatOrderByIndex(ByVal Index As Integer)As Order This function retrieves the orders for corresponding index. PARAMETERS Key Description  Index The order index of type integer ------------------------- SE...
Syntax Public Overrides Function AccountsSummaries(ByVal AccountID As Long, ByRef Balance As Double, ByRef FltPL As Double, ByRef Credit As Double, ByRef Equity As Double, ByRef marginReq As Double, ByRef MarginLevel As Double, ByRef EffMargin As Double)...
Syntax Public Overrides Function AccountsCount(ByVal ClientID As Long)As Long This function displays the number of accounts of the given client ID. PARAMETERS Key Description  ClientID Value of type long ------------------------- SEE AL...
Syntax Public Overrides Function AccountByIndex(ByVal ClientID As Long, ByVal Index As Integer)As Account This function displays an account by its index with the given client ID and index. PARAMETERS Key Description  ClientID Value of typ...
Syntax Public Overrides Function AccountByID(ByVal AccountID As Long)As Account This function returns an account of the given ID. PARAMETERS Key Description  AccountID Value of type long ------------------------- SEE ALSO * AccountBy...
Syntax Public Overrides Function SymbolsCount()As Long This function displays the total number of the symbols. PARAMETERS No Parameters. ------------------------- SEE ALSO * AccountByID [http://www.hybridsolutions.com/support/index.php?/Knowledge...
Syntax Public Overrides Function NewPosition(ByVal AccountID As String, ByVal BuySell As VertexFXBridgeAPI.OperationType, ByVal Amount As Double, ByVal SymbolName As String, ByVal AtPrice As String)As TransResult This function opens a new position with ...
Syntax Public Overrides Function Accounts()As List(Of String) This function returns the list of the accounts for the current Backoffice. Sample Public Overrides Function Accounts()   Return m_BO.AccountsList ()  End Function​ ----------------------...
Syntax Public Overrides Sub DisableReceivingOrders() This function turns the chatting screen off. Parameters No Parameters. ------------------------- SEE ALSO * Accounts [http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/Vi...
Syntax Public Overrides Sub EnableReceivingOrders() This function turns the chatting screen on. Remarks You can switch chatting on using this method, if chatting is set on, all of the orders will come as ChatOrderReceived event. ---------------------...
Syntax Public Overrides Sub Disconnect() This function logs out from the server. Parameters No parameters. ------------------------- SEE ALSO * EnableReceivingOrders [http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/38...
Syntax Public Overrides Sub Connect() This function logs in to the server and loads all data. After Login finishes loading the AllDataAreLoaded event is fired. Parameters   No Parameters. ------------------------- SEE ALSO * Disconnect [http://w...
Syntax Public Overrides Function SymbolDigits(ByVal BOSymbolName As String) As Short This function returns the number of digits that after the decimal for a specific symbol. Parameters Key Description  BOSymbolName The name of symbol Ret...
Syntax Public Overrides Function Symbol(ByVal Index As Integer)As Symbol   Public Overrides Function Symbol(ByVal Name As String)As Symbol This function returns an object of type Symbol [http://www.hybridsolutions.com/support/index.php?/Knowledgebase/...
Syntax Public Overrides Function LoginUsername()As String This function returns the dealer username. Return Value It will return a value of type string. ------------------------- SEE ALSO * Symbol [http://www.hybridsolutions.com/support/index.php...
Syntax Public Overrides Function RejectOrder(ByVal BOOrderID As String)As TransResult This function rejects the orders, it will return an object of type TransResult [http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/3838] that...
Syntax Public Overrides Function CancelLimitOrder(ByVal AccountID As String, ByVal OrderID As String)As VertexFXBridgeAPI.TransResult This function cancels a certain limit order, it will return an object of type TransResult [http://www.hybridsolutions.c...
Syntax Public Overrides Function AcceptOrder(ByVal BOOrderID As String, Optional ByVal AtPrice As Double = 0 )As TransResult This function accepts the orders, it will return an object of type TransResult [http://www.hybridsolutions.com/support/index.php...
Syntax Public Overrides Function LogedOn()As Boolean Return Value This function informs you the session connection status. Parameters No parameters. Remarks If this property value is true then the session status will be connected, if it is false th...
Syntax Public Overrides Sub Initialize() This method will be called by the bridge once creating a new instance of your Backoffice. In this method you have to set parameters for your Backoffice as username, password, server IP, and port etc... Sample P...
Syntax Public Overrides Function ValidateParameter(ByVal Parameter As String, ByVal Value As String) As Boolean This function validates the parameters that are added in your Backoffice class, it checks if the value is valid or not for this parameter, th...
Help Desk Software by Hybrid Solutions