SYNTAX
Public Function ManualDeleteSLTPOrder(AccountID As Integer, OrderIDs As String, Optional TransTag As String = "") As CallingResultsEnum
DESCRIPTION
This function is used to delete a managed order without the need to
select an account. After Man...
SYNTAX
Public Function ManualUpdateSLTPOrder(AccountID As Integer, OrderID As Integer, Lots As Double, OrderType As OperationTypeEnum, SymbolName As String, Optional SL As Object = "", Optional TP As Object = "", Optional TransTag As String = "") As Cal...
SYNTAX
Public Function ManualUpdateLimitOrder(AccountID As Integer, OrderID As Integer, OrderType As OperationTypeEnum, Lots As Double, SymbolName As String, NewPrice As Double, Optional SL As Object = "", Optional TP As Object = "", Optional Note As St...
SYNTAX
Public function GetAllSessionsInfo(ByRef vUsernames As System.Array, ByRef vLoginTimes As System.Array, ByRef vIPs As System.Array, ByRef vSessionIDs As System.Array) As Boolean
DESCRIPTION
This function is used to get the all connected session...
SYNTAX
Public Sub DisconnectThisUsername (ByRef UN As String)
DESCRIPTION
This method is used to disconnect the given username from gateway.
PARAMETERS
Key
Description
UN
The username to be disconnected, value of type String.
SAMPLE
...
SYNTAX
Public Sub DisconnectThisSession (ByRef SID As String)
DESCRIPTION
This method is used to disconnect the given session ID from the
gateway.
PARAMETERS
Key
Description
SID
The session ID to be disconnected, value of type is Strin...
SYNTAX
Public Function StopServer () As String
DESCRIPTION
This function is used to stop the server and disconnect all connected
gateway sessions.
PARAMETERS
No parameters.
SAMPLE
Private Sub stop_Click (ByVal sender As System.Object, ByVal e As Sy...
SYNTAX
public Function PauseServer () As String
DESCRIPTION
This function us used to pause the server to prevent any new gateway
connection
PARAMETERS
No Parameters.
SAMPLE
Private Sub pause_Click (ByVal sender As System.Object, ByVal e As System....
SYNTAX
Public Function StartServer () As String
DESCRIPTION
This function is used to start listening to a specific port
which should be set using Port
[http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/2634]
property to enabl...
SYNTAX
Public function BroadcastPrices () As Boolean
DESCRIPTION
This function is used to send the buffered symbol to connected
sessions
RETURN VALUE
Returns true if price is sent otherwise returns false (if you call it
after less than 250 ml second...
SYNTAX
Public Sub AddPriceBuffer(ByRef SymbolID As String, ByRef Bid As Double ,ByRef Ask As Double , ByRef Optional High As Double = 0.0 , ByRef Optional Low As Double= 0.0, ByRef Optional Last As Double = 0.0, ByRef Optional Bank As String=” ”)
DESCRI...