Closing a trade.

 
Good day. Say someone asks me to 
"Modify their trade closing by Including a delay to function A" 
Function A closes trades when an indicstor gets a particular setup. 

When modification is done as per specific requirements. 
How ever clients main problem wasnt what they asked for. 
But it is that Function B and Function C also close trades. However, these 2 close trades before function A. 
For client to test what they requested Function B and c need to be deactivated. However, deactivsting these 2, means martingaled hedge trades wont close when overal profit is to positive. 

What is best course of action. 
1. Solve the problem they have 
2. Solve the request they asked for. 
3. Request arbitration.


Help. 
 
Jefferson Judge Metha:
Good day. Say someone asks me to 
"Modify their trade closing by Including a delay to function A" 
Function A closes trades when an indicstor gets a particular setup. 

When modification is done as per specific requirements. 
How ever clients main problem wasnt what they asked for. 
But it is that Function B and Function C also close trades. However, these 2 close trades before function A. 
For client to test what they requested Function B and c need to be deactivated. However, deactivsting these 2, means martingaled hedge trades wont close when overal profit is to positive. 

What is best course of action. 
1. Solve the problem they have 
2. Solve the request they asked for. 
3. Request arbitration.
When requirements are ambiguous or don't address the client’s actual pain points, the best course of action is to resolve the underlying problem rather than strictly fulfilling the written request.


The optimal approach is to solve the underlying problem the client is experiencing, not just implement the requested change. This means you should:

  • Engage in a detailed discussion with the client to clarify expectations.

  • Propose a solution that comprehensively addresses why Functions B and C are preempting Function A.

  • Avoid working in isolation on the modification—incorporate proper testing and risk management.

By taking this route, you safeguard both the client’s trading strategy and your reputation as a developer.