• Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX

Methods

home/Knowledge Base/Technical Support/API/BackEnd API's/VBL/Server API's/Currency Server API/Methods/AddPriceBuffer

AddPriceBuffer

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

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= )

Description

This functionused to add symbol information to buffer before callingBroadcastPrices function.

Parameters

Key Description
SymbolID The Symbol number to be added, value of type String.
Bid Bid price value for added symbol, value of type is Double.
Ask Ask price value for added symbol, value of type is Double.
High High price value. Optional value of type is Double.
Low Low price value. Optional value of type is Double.
Last Last price value. Optional value of type is Double.
Bank Bank name. Optional value of type is String.

Sample

Private Sub AddPrice_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddPrice.Click'CurSer is predefined variable as CVertexCurSvrAPICurSer.AddPriceBuffer ("SymbolID", 1.0, 2.0, 0.0, 0.0, 0.0,Bank name)CurSer.BroadcastPrices ()End Sub

See Also

  • BroadcastPrices
  • StartServer
  • PauseServer


Back to Currency Server API Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

StopServer  

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
  • Release Notes
  • Technical Support
  • 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 2024 hybridsolutions.com. All Rights Reserved.