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

VTL Server Events

home/Knowledge Base/Technical Support/API/Client API's/VTL/VTL Server Scripts/VTL Server Events/OnTick

OnTick

2 views 0 December 16, 2021 hybrid-solutions

Description

The OnTick event is generated whenever there is a new tick.

There are 2 variants form of the events:

Public Sub OnTick(symbolName)

Or

Public Sub OnTick()

You should use one form to consume OnTick Event.


Sample

 Public Sub main()  End Sub Public Sub OnTick(symName as string)  Gui.msgdialog(symName)  ClientCode.EndScript() End Sub

See Also

  • OnOrderTrade
  • OnPositionTrade
  • NewOrderResult


Back to VTL Server Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

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
  • Lite VertexFX Mobile Trader
  • Technical Support
  • Social Trading
  • VertexFX Pro Setup
  • Mobile Trader
Community
  • Blog
  • Forum
  • 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.