Closed DiMiTriFrog closed 11 months ago
We're glad you've opened your first issue. Please provide all the necessary details and any relevant code or screenshots to help us understand the problem better. Our team will review your issue and provide assistance as soon as possible. Thank you for contributing!
PLEASE IT'S IMPORTANT :(
You can use the 'history' function where the last line of data represents the last close and the current bid price. The streaming option is not stable and generates data lag. However, you can use the 'history' option in a normal loop to get the real-time price. For real-time bid and ask prices, I suggest using ejtraderCT, which is much faster and more efficient. I normally use ejtraderMT solely for historical data, and for real-time data, I use ejtraderCT, which undoubtedly provides better and faster data for decision-making in high-frequency bots. However, in the next version of ejtraderMT, which will have its core in Rust with Python binding, this problem will be resolved, providing more speed and stability for the API.
So interesting all you are talking!!
But with ctrader could I get the last candle? or only the last price?
So interesting all you are talking!!
But with ctrader could I get the last candle? or only the last price?
last bid and ask price
Thank you very much Pedro!
When i run ->
I have this output ->