I tried placing my intended function at the beginning of OnTradeTransaction, but my intended function is being executed after the trade request has already been executed.
- Questions from a "dummy"
- Typical mistakes and how to deal with them when dealing with the trading environment
- Experts: cheduecoglioni
Jia Run Yuan: I tried placing my intended function at the beginning of OnTradeTransaction, but my intended function is being executed after the trade request has already been executed.
We are unable to read your mind or see your computer. So, please show some example code and log output, and explain your question in more detail.
Jia Run Yuan:
I tried placing my intended function at the beginning of OnTradeTransaction, but my intended function is being executed after the trade request has already been executed.
I tried placing my intended function at the beginning of OnTradeTransaction, but my intended function is being executed after the trade request has already been executed.
Of course, OnTradeTransaction() triggers after a trade request execution.
We can only execute a function before a trade request in your own code sending trade requests.
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