I'm currently looking for the MaximumUnrealizedProfitPercentPerSecurity module to try to modify it to take profit on 50% of the position vs. close the entire position.  But I've been curious if there's a location where these modules are stored so I can study them to improve my own framework understanding.