Login
Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • Home
  • Knowledgebase
  • Blog

VertexFX Client WCF Service

home/Knowledge Base/Technical Support/API/Client API's/VTL/VertexFX Client WCF Service./VertexFX Client WCF Service/UpdateAlert

UpdateAlert

4 views 0 Updated on December 16, 2021 hybrid-solutions

Syntax

Public function UpdateAlert(AccountID As Integer, AlertID As Integer, SymbolID As Integer, Condition As Integer, Value As Double, AlertType As Integer, Enabled As Boolean)

Description

The UpdateAlert operation is used to Update a given alert number that takes on a specific accounts.

Request Parameters

Name Description Required
AccountId
  • AccountID to whom you want to createa new alertfor
  • Type: Integer
  • Default: None
  • Constraints:Must be valid Account ID and accessible by logged in Session
Yes
AlertID
  • The number of alert that want to update it
  • Type : Integer
  • Default : none
  • Constraints:Must be valid Alert ID and accessible by the provided Account number
Yes
SymbolID
  • Symbol identifier to create a new Alert on
  • Type :Integer
  • Constraints :Must be valid , used Symbol Id
Yes
Condition
  • The condition that the alert will hit according on
  • Type :Integer
  • Constraints :Must be one of the following :
    1 : Means Bid Greater
    2 : Means Bid Less
    3 : Means Ask Greater
    4 : Means Ask Less
    5 : Means Balance Greater
    6 : Means Balance Less
    7 : Means Equity Greater
    8 : Means Equity Less
    9 : Means Margin level Greater
    10 : Means Margin Level Less
    11 : Means Profit loss Greater
    12 : Means Profit loss Less
Yes
Value
  • The condition that the alert will hit on
  • Type is Double
Yes
AlertType
  • The type of the alert
  • Type : Integer
  • Constraints : Must be one of the Following :
    1 : means Sound Alert
    2 : means SMS Alert
Yes
Enabled
  • To indicate if the alert has been enabled or not
  • Type : Boolean
Yes

Response Elements

Name Description
Result

The operation return list ofAlertin casesuccess ,otherwise an expliciterror codeis returned when alert Id is less than 0

The Following are the Alert data member:
Enabled as Boolean

ID As String
Symbol as Csymbol
SymbolName as String
SymbolID As Long
Condition as Integer :
1 : Means Bid Greater
2 : Means Bid Less
3 : Means Ask Greater
4 : means Ask Less
5 : Means Balance Greater
6 : Means Balance Less
7 : Means Equity Greater
8 : Means Equity Less
9 : Means Margin level Greater
10 : means Margin Level Less
11 : Means Profit loss Greater
12 : means Profit loss Less
Value as Double
Type as integer
1 : means Sound
2 : means SMS
Hit as Boolean
LastHitTime as String
LastHitPrice as String

Sample

UpdateAlert
Username: Password:
AccountID: AlertID: SymbolID: Condition:
Value: AlertType: Enabled:
Loading ...


See Also

GetDelivaryItem
getClientGMT
GetStmtHeaderFooter


VertexFX WCF Service Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  NewAlert

DeleteAlert  

About
VertexFX Trader has a closed-loop trading structure with Backoffice dealing desk, Client Terminals, Dedicated Hosting, White Labelling and Bridging Capabilities. Through VertexFX Risk Management Bridge...
Categories
  • Technical Support
  • Social Trading
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Media Center
Need Support?
If you need any further help, don't hesitate to send a support request to our support team.
Contact Support
  • Privacy Policy
  • Brokers Terms
  • Traders EULA
  • ISV Terms
  • Plugins EULA
  • Copyright 2022 hybridsolutions.com. All Rights Reserved.