Hi everyone,
I'm Dan, its nice to be part of this community.
I'm trying to build a function that will give the minimal price sell for market stocks.
I will try to be as most simple and direct in the formula:
((Buy Price*Quantity)+Commission) = Total Buy
((Sell Price*Quantity)-Commission) = Total Sell
Total Sell - Total Buy = Result
What I wish, is to generate the "Sell Price" automatically.
The info I will feed to the function would be the Buy price, Quantity and Result. Than make the function generate the minimal Sell price for that the Result be bigger than 0.
I hope I could explain well what I'm looking for.
Thanks and nice to meet you all.
Kind Regards,
Dan
Bookmarks