Knowledgebase: Release Notes
VertexFX API 9 & 10 Differences
Posted by Mohammad Rahhal, Last modified by Yousef Ibrahim on 03 July 2012 02:23 PM


VertexFX Backoffice API 9 & 10 Events Differences

BO API 10 Event Syntax BO API 9 Event Syntax
Event ChatStatus(ByRef ChatOn As Boolean) No Event


VertexFX Client API 9 & 10 Syntax Differences

Client API 10 Methods Syntax Client API 9 Methods Syntax

Public Function NewMarketOrder(ByRef BuySell As VertexGeneral.OperationTypeEnum, ByRef SymbolID As Integer, ByRef Lots As Double,[ByRef TransTag As String = ""]) As VertexFXClientAPI.CallingResultsEnum

Public Function NewMarketOrder(ByRef BuySell As VertexGeneral.OperationTypeEnum, ByRef SymbolID As Integer, ByRef Lots As Double) As VertexFXClientAPI.CallingResultsEnum
Public Function CloseMarketOrder(ByRef ticket As Integer, ByRef lots As Double, ByRef TransTag As String) As VertexFXClientAPI.CallingResultsEnum Public Function CloseMarketOrder(ByRef ticket As
Integer, ByRef lots As Double) As VertexFXClientAPI.CallingResultsEnum

Public Function NewLimitOrder(ByRef OrderType As 
VertexGeneral.OperationTypeEnum, ByRef SymbolID As Integer, ByRef Lots As Double, ByRef Atprice As Double, [ByRef SL As Object  = ""], [ByRef TP As Object = ""],[ByRef TransTag As String = ""]) As VertexFxClientAPI.CallingResultsEnum

Public Function NewLimitOrder(ByRef OrderType As 
VertexGeneral.OperationTypeEnum, ByRef SymbolID As Integer, ByRef Lots As Double, ByRef Atprice As Double, [ByRef SL As Object  = ""], [ByRef TP As Object = ""]) As VertexFxClientAPI.CallingResultsEnum

Public Function NewSLTPOrder(ByRef ticket As Integer, ByRef Lots As Double, [ByRef SL As Object = ""], [ByRef TP As Object = ""], [ByRef TransTag As String = ""]) As VertexFXClientAPI.CallingResultsEnum

Public Function NewSLTPOrder(ByRef ticket As Integer, ByRef Lots As Double, [ByRef SL As Object = ""], [ByRef TP As Object = ""]) As VertexFXClientAPI.CallingResultsEnum

Public Function UpdateLimitOrder(ByRef OrderId As Integer, ByRef Lots As Double, ByRef NewPrice As Double, [ByRef SL As Object = ""], [ByRef TP As Object = ""],[ByRef TransTag As String =""]) As VertexFXClientAPI.CallingResultsEnum

Public Function UpdateLimitOrder(ByRef OrderId As Integer, ByRef Lots As Double, ByRef NewPrice As Double, [ByRef SL As Object = ""], [ByRef TP As Object = ""]) As VertexFXClientAPI.CallingResultsEnum

Public Function UpdateSLTPOrder(ByRef OrderID As Integer, ByRef Lots As Double , [ByRef SL As Object = ""], [ByRef TP As Object = ""],[ByRef TransTag As String = ""]) As VertexFXClientAPI.CallingResultsEnum

Public Function UpdateSLTPOrder(ByRef OrderID As Integer, ByRef Lots As Double , [ByRef SL As Object = ""], [ByRef TP As Object = ""]) As VertexFXClientAPI.CallingResultsEnum

Public Function DeleteSLTPOrder(ByRef OrderID As Integer, ByRef TransTag As String) As VertexFXClientAPI.CallingResultsEnum

Public Function DeleteSLTPOrder(ByRef OrderID As Integer) As VertexFXClientAPI.CallingResultsEnum

Public Function DeleteLimitOrder(ByRef OrderId As Integer, ByRef TransTag As String) As VertexFXClientAPI.CallingResultsEnum

Public Function DeleteLimitOrder(ByRef OrderId As Integer) As VertexFXClientAPI.CallingResultsEnum

VertexFX Client API 9 & 10 Events Differences

Client API 10 Event Syntax Client API 9 Events Syntax
Event CloseOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef AtPrice As Double, ByRef PosOrOrder As Short, ByRef OrderId As Integer, ByRef BuySell As VertexGeneral.OperationTypeEnum, ByRef Lots As Double, ByRef Symbol As VertexFXClientAPI.COSymbol, ByRef ServerTime As String, ByRef OpenTicket As Integer, ByRef TransTag As String) Event CloseOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef AtPrice As Double, ByRef PosOrOrder As Short, ByRef OrderId As Integer, ByRef BuySell As VertexGeneral.OperationTypeEnum, ByRef Lots As Double, ByRef Symbol As VertexFXClientAPI.COSymbol, ByRef ServerTime As String, ByRef OpenTicket As Integer)
Event DeleteLimitOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef OrderId As Integer, ByRef TransTag As String) Event DeleteLimitOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef OrderId As Integer)
Event DeleteSLTPOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef OrderId As Integer, ByRef TransTag As String) Event DeleteSLTPOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef OrderId As Integer)
Event LimitOrderAccepted(ByRef AccountID As Integer, ByRef OrderId As Integer, ByRef Ticket As Integer, ByRef BuySell As VertexGeneral.OperationTypeEnum, ByRef Lots As Double, ByRef Symbol As VertexFXClientAPI.COSymbol) No Event
Event LimitOrderCanceledCannotHdg(ByRef AccountID As Integer, ByRef OrderId As Integer, ByRef Ticket As Integer, ByRef BuySell As VertexGeneral.OperationTypeEnum, ByRef Lots As Double, ByRef Symbol As VertexFXClientAPI.COSymbol) No Event
Event LimitOrderCanceledNoMoney(ByRef AccountID As Integer, ByRef OrderId As Integer, ByRef Ticket As Integer, ByRef BuySell As VertexGeneral.OperationTypeEnum, ByRef Lots As Double, ByRef Symbol As VertexFXClientAPI.COSymbol) No Event
Event NewLimitOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef OrderId As Integer, ByRef ServerTime As String, ByRef TransTag As String) Event NewLimitOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef OrderId As Integer, ByRef ServerTime As String)
Event NewOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef AtPrice As Double, ByRef PosOrOrder As Short, ByRef OrderId As Integer, ByRef BuySell As VertexGeneral.OperationTypeEnum, ByRef Lots As Double, ByRef Symbol As VertexFXClientAPI.COSymbol, ByRef ServerTime As String, ByRef TransTag As String) Event NewOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef AtPrice As Double, ByRef PosOrOrder As Short, ByRef OrderId As Integer, ByRef BuySell As VertexGeneral.OperationTypeEnum, ByRef Lots As Double, ByRef Symbol As VertexFXClientAPI.COSymbol, ByRef ServerTime As String)
Event NewSLTPOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef OrderId As Integer, ByRef ServerTime As String, ByRef TransTag As String) Event NewSLTPOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef OrderId As Integer, ByRef ServerTime As String)
Event UpdateLimitOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef OrderId As Integer, ByRef ServerTime As String, ByRef TransTag As String) Event UpdateLimitOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef OrderId As Integer, ByRef ServerTime As String)
Event UpdateSLTPOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef OrderId As Integer, ByRef ServerTime As String, ByRef TransTag As String) Event UpdateSLTPOrderResult(ByRef Result As VertexFXClientAPI.NewOrderResultEnum, ByRef OrderId As Integer, ByRef ServerTime As String)


(0 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