TheSnowGuru / PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop

Open Source Trading Strategies & End-to-End solution connecting Metatrader4 & Metatrader5 💹 with Python with a simple drag and drop EA. Fully tested bug free & efficient solution for live & paper trading⭐ Full Documentation ready. Lightweight, efficient and stable implementation 🔥
https://discord.gg/wRMUNP8ERa
653 stars 11 forks source link

Getting spread information on pair #15

Closed cevangelio closed 3 years ago

cevangelio commented 3 years ago

Hi,

Is there a way to get the current spread on a pair?

How about historical spread?

I checked documentation and instrument info does not have it.

Thanks!

Branly76 commented 3 years ago

Spread,

I will add to "Get_last_tick_info" function

Historical, does MT4/MT5 have historical spread ??

BR

Branly76 commented 3 years ago

EA's updated for spread. version numbers is 2.06a, MT4, MT5 and Pytrader_API

BR