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

Order Cycle

home/Knowledge Base/Technical Support/API/BackEnd API's/VBL/VertexFX Bridge LP API/VertexFX Bridge LP API Help/Order Cycle/Close Order Cycle

Close Order Cycle

37 views 0 Updated on December 21, 2021 hybrid-solutions

Close Cycle

Close order has a specific cycle in VertexFX Bridge application which should be implemented in your LP class as follows:

1- You have to override the CloseMarketOrderfunction which should return either a success or a fail result.

if successthen

Return New TransResult(True)

Otherwise the bridge will wait for:

Return New TransResult(False, "FAILING MESSAGE")

And in this case the cycle has finished.

2. When you receive an order acceptance message, you have to call:

MyBase.OrderState.MarketOrderClosed

In the case of receiving order ID. In this case, the Bridge will wait for step 3 or else,

MyBase.OrderState.MarketOrderClosingFailed

when receiving an order rejection message. Then thecycle has finished.


See Also

  • Close by Hedge Cycle
  • Update Limit Order Cycle
  • Delete Limit Order Cycle


Back to Bridge LP API Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  Close by Hedge Cycle

Delete SLTP Order Cycle  

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.