× Discuss on any other topics

system created extra trades based on single order

  • safzalhussain
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 3 months ago #16252 by safzalhussain
we have local development for a module and process is as follows;

1) a routine create trade in $NAU in IHLD, based on orders.
2) as soon as trade created in IHLD, system deduct amount from security position.

last month we experienced that system created more than 1 trade/trades against 1 single order and deducted security position erroneously. we are unable to understand that why system created such anomaly as nothing went change in any routine.

One doubt which we are predicting that might be possible that any thread stuck in any execution area in live environment, which repeatedly executed the loop for that particular customer.
any can body assist how we can identify the root cause of creating multiple trades.

Please Log in or Create an account to join the conversation.

  • Valleyman1
  • Visitor
  • Visitor
10 years 2 months ago #16349 by Valleyman1
Replied by Valleyman1 on topic system created extra trades based on single order
Since the routine is coming from your local development, the best way we could assist you is if we walk through your Trade creation code . In this way we will be able to help. You can add validation logic to make sure that association between Order and Trade is 1-1.

What happens to security position if a trade is not authorized and you run EOD?

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds