mr-roma: But I would like to get profit from specific time to specific time, like from 2020.11.30 to 2020.12.04
That makes no sense. An order only has profit/loss at a market value, not time.
Well, actually I just found the way.
double Specific_Time_Profit = GetProfitFromDate(11,30) - GetProfitFromDate(12,07);
It works ....
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello, I have code which gives me profit from specific time to today.
But I would like to get profit from specific time to specific time, like from 2020.11.30 to 2020.12.04
I tried some ways but couldn't do it. Any ideas? Or is it even possible?