Knowledgebase : Technical Support > API > BackEnd API's/VBL > Backoffice API > Methods
Syntax Public Function ManualUpdateOpenPosition(AccountID as Integer, TicketID As Integer, NewLots As Double, NewPrice As Double, NewType As OperationTypeEnum, NewInterest As Double , NewComment As String) as CallingResultsEnum  DESCRIPTION The manua...
Syntax Public Function CloseAllByHedge(AccountID As Integer, BuyTickets As String, SellTickets As String, BuyLots as String, SellLots as String, SymbolID as Integer) CallingResultsEnum DESCRIPTION The CloseAllByHedge function is used to close the gi...
SYNTAX  Public Function GetDepartments() As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] DESCRIPTION This function is used to get all departments that the logged in dealer has a privilege on...
SYNTAX  Public Function ChangeDealerParameter(DealerID As Integer, ParameterLevel As DealerParamTypeEnum [https://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5622], parameter As String, InheritValue As Boolean, NewValue As Str...
SYNTAX  Public Function GetSymbolDealerParam(DealerID As Long) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] DESCRIPTION This function used to get the dealer symbol parameters for the give...
SYNTAX  Public Function GetPrivDealerParam(DealerID As Long) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] DESCRIPTION This function is used to get the dealer privilege parameters for the ...
SYNTAX  Public Function GetGeneralDealerParam(DealerID As Integer) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] DESCRIPTION This function is used to Get the general Parameter for the give...
SYNTAX  Public Function UpdateDealerInfo(DealerID As Integer, Username As String, Password As String, ClientID As Integer, GMTOffset As String, DealerDesc As String, DealerTreePriv As Integer,Optional IsBranch As Boolean = False) As CallingResultsEnum [...
SYNTAX  Public Function CreateDealer(ParentUsername As String, vDealerType As DealerType, Username As  String, Password As String, ClientID As Integer, DealerDesc As String, GMTOffset As String,DealerTreePriv As Long ,Optional IsBranch As Boolean = Fals...
SYNTAX  Public Function GetFloatingStatus (ClientID As Integer) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] DESCRIPTION This function is used to get the floating status which belongs to ...
GETFLOATINGSTATUS
SYNTAX  Public Function UpdateClosedPosition(AccountID As Integer, TicketID As Integer, lot As Double, Price As Double, RefAskPrice As Double, Comm As Double, Interest As Double, Profit As Double, RefBidPrice As Double Optional UserDefinedDate As String...
SYNTAX Public Function ChangePassword(ByRef OldPassword As String, ByRef NewPassword As String, ByRef ConfirmPassword As String) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function ...
SYNTAX  Public Function ManualCloseByHedge(AccountID As Integer, Ticket1 As Integer, Ticket2 As Integer, Amount As Double, RefAskPrice As Double, RefBidPrice As Double) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgeb...
SYNTAX  Public Function GetAccountStatement(AccountID As Integer, StatementType As StatementTypeEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/5333], Optional FromDate As String = "", Optional ToDate As String = "") ...
SYNTAX  Public Function GetSymbolsSettings () As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] DESCRIPTION This function is used to get the settings for all symbosl which have a privilege on....
SYNTAX  Public Function TransferSymbol (SymbolID As Integer, OldParentID As Integer, NewParentID As Integer) As SymbolSettingsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4977] DESCRIPTION This function is used...
SYNTAX  Public Function CreateGroupSymbol (ParentID As String, GroupName As String) As SymbolSettingsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4977] DESCRIPTION This function is used to create a symbol of ty...
SYNTAX  Public Function CreateNewSymbol (ParentID As String , Name As String, Optional OpenDay As String = "Monday", Optional OpenTime As String = "00:00", Optional CloseDay As String = "Friday", Optional CloseTime As String = "23:59", Optional DailyClo...
SYNTAX Public Function RejectMultipleOrders (OrderIDs As String, Comment As String) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function is used to reject multiple client orders, Afte...
SYNTAX Public Function AcceptMultipleOrders (OrderIDs As String) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function is used to accept multiple client orders. After AcceptMultipleOrd...
SYNTAX Public Function DeleteMoneyTransaction (AccountID As Integer, TicketID As Integer) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function is used to delete money transaction for ...
SYNTAX Public Function DeleteClosedPosition(AccountID As Integer, TicketID As Integer) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function is used to delete the closed position for a...
SYNTAX Public Function ManualNewLimitOrder(AccountID As Integer, OrderType As OperationTypeEnum, SymbolID As Long, Lots As Double, AtPrice As Double, Optional SL As Object = "", Optional TP As Object = "", Optional Note As String = "", Optional TransTa...
PROPERTIES This class represents the parameter object for the client parameters settings Part Description Symbol Symbol which the parameter setting belongs to, the value of type is COSymbol [http://www.hybrid-solutions.com/support/index.p...
SYNTAX Public Function UpdateOpenPosition (TicketID As Integer, NewLots As Double, NewPrice As Double, NewType As OperationTypeEnum, NewInterest As Double, NewComment As String) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/...
SYNTAX Public Function ManualManualNewSLTPOrder (AccountID As Integer, Ticket As Integer, Lots As Double,OrderType As OperationTypeEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2141] ,SymbolID As Integer, Optional ...
SYNTAX Public Function ManualDeleteLimitOrder (AccountID As Integer, OrderIDs As String, TransTag As String) As CallingResultsEnum This function is used to cancel an entry order without the need to select an account, after ManualDeleteLimitOrder meth...
SYNTAX Public Function GetClientParameters (ClientID As Integer) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function is used to get the symbol setting parameter value for the given ...
SYNTAX Public Function GetGeneralClientParameters (ClientID As Integer) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2027] This function is used to get the general client parameter by the givnen...
SYNTAX Public Function GetAccountHistroy (AccountID As Integer, Optional LastXDays As Integer = -1, Optional FromDate As String = "", Optional ToDate As String = "") As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebas...
SYNTAX Event DeliveryItemDeleteFailed(ByRef SymbolID As Integer) This event fired when failed to delete delivery item by DeleteDeliveryItem [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4735] method. PARAMETERS ...
SYNTAX Public Function GetGroupInfo(ByRef vClient As Integer) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function used to get information for the given group, after GetOfficeInfo ex...
SYNTAX Public Function GetOfficeInfo(ByRef vClient As Integer) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function used to get information for the given office, after GetOfficeInfo ...
SYNTAX Public Function DeliveryItemsCount(ByRef SymID As Integer) As Integer This function is used to return the physical items count for provided symbol ID. PARAMETERS Parameter Description SymID Trading symbol ID to get the physic...
SYNTAX Public Function GetSettledStatus (Optional ClientID As Integer = 0, Optional LastXDays As Integer = -1, Optional FromDate As String = "", Optional ToDate As String = "") As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/K...
SYNTAX Public Function GetClientInfo (vClient As Integer) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function is used to get information about the given client, after GetClientInfo ...
SYNTAX Public Function UpdateGroup (ByRef ClientID As Integer, ByRef Name 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 Strin...
SYNTAX Public Function UpdateOffice (ByRef ClientID As Integer, ByRef Name 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 ...
SYNTAX Public Function UpdateClient (ClientID As Integer,FirstName As String,SecondName As String,ThirdName As String, LastName As String,UserName As String,Password As String,Tel As String,Mobile As String,TelFax As String,POB As String,Fax As String,...
SYNTAX Public Function UpdateAccount (ByRef AccountID As Integer, ByRef AccountType As VertexGeneral.AccountTypeEnum, ByRef OpenTime As String, ByRef IsDemo As Boolean, ByRef IsLocked As Boolean, ByRef IsLiquidated As Boolean, ByRef IsMarginAcc As Bool...
SYNTAX Public Function Disconnect() This method use to disconnect the connection session from the server. PARAMETERS No Parameters. SAMPLE Private Sub Disconnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Disco...
SYNTAX Public Function GetDeliveryItem(SymID As Integer,Index As Integer) As VertexGeneral.CDeliveryItem [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4984] This function used to get the CDeliveryItem [http://www.hybr...
SYNTAX Public Function GetChartHistory(SymbolID As Integer, Period As PeriodNoEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4891], BeforeDate As Date, NumberOfBars As Integer) As CallingResultsEnum [http://www.hybr...
SYNTAX Public Function Deliver(Ticket As Integer, DeliveryItemID As String, NumberOfItems As Integer, DepID As Integer, Optional Comment As String = "") As [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143]CallingResul...
SYNTAX Public Function RequestDeliveryItems(Optional ByRef SymID As Integer = -1) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function requests physical items for specific symbol. Af...
SYNTAX Public Function DeleteDeliveryItem(SymID As Integer,ItemID As String) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function deletes the physical item of a specific symbol that ...
SYNTAX Public Function UpdateDeliveryItem(ByRef SymID As Integer, ByRef ItemID As String, ByRef ItemImageLink As String, ByRef ItemName As String, ByRef ItemDesc As String, ByRef ItemWeight As Double, ByRef ItemEnabled As Boolean) As CallingResultsEnum...
SYNTAX Public Function AddDeliveryItem(ByRef SymID As Integer, ByRef ItemID As String, ByRef ItemImageLink As String,ByRef ItemName As String, ByRef ItemDesc As String, ByRef ItemWeight As String, ByRef ItemEnabled As Boolean) As CallingResultsEnum [ht...
SYNTAX Public Function BroadcastMessage(ClientID As Integer,Title As String,Message As String) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function is used to send a message to speci...
SYNTAX Function CloseByHedge(ByRef Ticket1 As Integer, ByRef Ticket2 As Integer, ByRef Amount As Double) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function closes specific amount o...
SYNTAX Function TransferClient(ByRef ClientID As Integer, ByRef ParentID As Integer)As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This method will help you to organize the accounts tree, so...
SYNTAX Function ChangeSymbolSettings(SymbolsIDs As String, Optional Name As String = "#*#", Optional OpenDay As String = "#*#", Optional OpenTime As String = "#*#", Optional CloseDay As String = "#*#", Optional CloseTime As String = "#*#", Optional Dai...
SYNTAX Function MaximumAmount(ByRef SymbolID As Integer) As Double This function used to returns the maximum amount per deal for specific symbol. PARAMETERS Parameter Description SymbolID Trading symbol number that want to get the m...
SYNTAX Function StopOffset(ByRef SymbolID As Integer) As Double This function use to returns value for how much the SLTP order prices should be far from the market price for specific symbol. PARAMETERS Parameter Description SymbolID ...
SYNTAX Function LimitOffset(ByRef SymbolID As Integer) As Double This function use to returns value for how much the limit order prices should be far from the market price for specific symbol. PARAMETERS Parameter Description SymbolID ...
SYNTAX Function spread(ByRef SymbolID As Integer) As Double This function use to returns the spread value for specific symbol. PARAMETERS Parameter Description SymbolID Trading symbol number,value of type Integer. RETURN VALUE R...
SYNTAX Function commission(ByRef SymbolID As Integer) As Double This function used to return the commission value for specific symbol. PARAMETERS Parameter Description SymbolID Trading symbol number ,value of type Integer. RETURN V...
Change time sync interval
SYNTAX Function MinimumAmount(ByRef SymbolID As Integer) As Double This function used to returns the minimum amount per deal for specific symbol. PARAMETERS Parameter Description SymbolID Trading symbol number that want to get the m...
SYNTAX Function DisconnectSession(ByRef Session As COnlineSession [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4126])As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/...
SYNTAX Public Function ChangeParam(ClientID As Integer, ParamType As ParamTypeEnum, InheritValue As Boolean, newValue As String, Optional SymbolIDs As String = "-1") As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebas...
SYNTAX  Function CreateOffice(ParentUsername As String,Name As String,Username As String,Password As String ,ShowAsDemo As Boolean,ReadOnlyLogin As Boolean,Phone As String,Fax As String,Mobile As String,TelPWD As String,POB As String,Email As String,Add...
SYNTAX  Function CreateGroup(ParentUsername As String,Name As String,Username As String,Password As String, ReadOnlyLogin As Boolean,Phone As String,Fax As String,Mobile As String,TelPWD As String,POB As String,Email As String,Address As String,ChangePW...
SYNTAX Public Function UpdateSLTPOrder(OrderID As Long, Lots As Double, Optional SL As Object = "", Optional TP As Object = "", Optional TransTag As String = "") As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Ar...
SYNTAX Public Function UpdateLimitOrder(OrderID As Integer , Lots As Double, NewPrice As Double, Optional SL As Object = "", Optional TP As Object = "", Optional Note As String = "", Optional TransTag As String = "") As CallingResultsEnum [http://www.h...
SYNTAX Function SwitchOrder(ByRef OrderID As Integer) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2027] This function is used to pass order to another available dealer. PARAMETERS Part ...
SYNTAX Public Function NewSLTPOrder(Ticket As Integer, Lots As Double, Optional SL As Variant = "", Optional TP As Variant = "", Optional TransTag As String = "") As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/A...
SYNTAX Public Function NewLimitOrder(OrderType As OperationTypeEnum, SymbolID As Integer, Lots As Double, AtPrice As Double, Optional SL As Object = "", Optional TP As Object = "", Optional Note As String = "", Optional TransTag As String = "") As Call...
SYNTAX Function DeleteSLTPOrder(ByRef OrderIDs As String,ByRef TransTag As String)As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2027] This function used to delete SL/TP order.A user account must ...
Syntax Function DeleteLimitOrder(ByRef OrderIDs As String,ByRef TransTag As String)As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2027] This function used to delete a limit order. A user account m...
SYNTAX Function ClientSymbol(ByRef SymbolID As Integer, ByRef AccountID As Integer) As COSymbol [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2147] This function used to return COSymbol [http://www.hybrid-solutions.co...
SYNTAX  Public Function CreateAccount(Username As String, AccountID As Integer, AccountType As AccountTypeEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4974], Time As String, DemoAccount As Boolean, LockedAccount As...
SYNTAX Function CreateClient(ParentUsername As String,FirstName As String,SecondName As String,ThirdName As String, LastName As String,Username As String,Password As String,Phone As String,Fax As String, Mobile As String, TelPW As String ,POB As String,...
SYNTAX Function SendSMSToSelcectedAccount(ByRef SMSText As String) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] To send SMS to an already selected account through selectAccount [http://www...
SYNTAX Function SendSMS(ByRef AccountID As Integer,ByRef SMSText As String) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] To send SMS to a specific client .After SendSMS method executes Sen...
SYNTAX Function AccountSummaries(ByVal AccountID As Integer, ByRef Balance As Double, ByRef FltPL As Double, ByRef Credit As Double, ByRef Equity As Double,ByRef MarginReq As Double,ByRef MaginLevel As Double, ByRef EffMargin As Double) As VertexFXBOAP...
SYNTAX Function SwitchChat(ByRef ChatOn As Boolean) As VertexFXBOAPI.CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function used to turn chatting screen on or off.After SwitchChat method ...
SYNTAX Function ClosePosition(ByRef AccountID As Integer, ByRef Ticket As Integer, ByRef Amount As Double, ByRef Price As Double, ByRef RefAskPrice As Double, ByRef Comm As Double, RefBidPrice As Double,TransTag As String ,Optional UserDefinedDate As S...
Syntax Public Function NewPosition(AccountIDs As String, BuySells As String, Amounts As String, SymbolIDs As String, PriceS As String, Optional Notes As String = "", Optional TransTag As String = "",Optional UserDefinedDate As String = "") As CallingRe...
SYNTAX Function RejectOrder(ByRef vOrderID As Integer,ByRef Comment As String)As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function used to reject client order by giving the order num...
SYNTAX  Function AcceptOrder(ByRef vOrderID As Integer,Optional ByRef AcceptPrice As Double = 0.0) As VertexFXBOAPI.CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] This function used to accept c...
SYNTAX Function SelectAccount(ByRef AccountID As Integer) As CallingResultsEnum [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2143] To choose which account that want to load its pending orders and open positions . Not...
Help Desk Software by Hybrid Solutions