PDA

View Full Version : Full Trade Report from Vertex Client API V 10



Kanzariya Ashok
02-24-2014, 10:10 AM
Hello Sir,

We are developing Our Application using Visual studio C# for Vertex Client API V 10.

We have some Query are below :

1) how to get Full Trade Report from Vertex Client API V10 ?
2) can i get TransTag(remarks from our Side) value in PendingOrdersLoaded ,DeletePendingOrders ,NewPendingOrder events ?
3) In which event trades are received ?
4) how can i identify Trade is Partially fill or Full fill ?

Hassan-HS
02-24-2014, 12:34 PM
Hello,




1) how to get Full Trade Report from Vertex Client API V10 ?



If you need to get all open positions info for certain account you have to
1- Select account using this function (http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/1989)

2-loop over all open position using OpenPositionByIndex (http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2031) , OpenPositionsCount (http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2034)

and the same thing for pending and manage orders using OrderByIndex (http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2882), OrdersCount (http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2883)



2) can i get TransTag(remarks from our Side) value in PendingOrdersLoaded ,DeletePendingOrders ,NewPendingOrder events ?


In this moment no, but you can develop a class that mapping and hold all orders and your needed.

Note:
You need to use PendingOrdersLoaded only when you are already login from 2 sides or more with the same username and password and you need to reflect the new orders to the order for all sessions NewLimitOrderResult (http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2016)




3) In which event trades are received ?


check this articles Limit Order Cycle (http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/3728), Market Order Cycle (http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/3713)



4) how can i identify Trade is Partially fill or Full fill ?


our system fill or kill the order.