Hi all,
Is it possible to get the current spread, or the current bid / ask (buy / sell) prices to use in a system? e.g. with Spot Gold, the spread varies – usually between 0.3 and 0.5 but sometimes it is higher … 0.8 or more depending on volatility in the market. In March this year it went much higher. So I’m trying to work out a function that will stop a system placing trades if the bid / ask spread is over a certain level. But I cannot see a way to get the spread or bid/ask prices into the system …. only “market price”. Any thoughts on this will be much appreciated.
Can’t be done with accuracy outside of published spreads by IG.
https://www.ig.com/uk/help-and-support/spread-betting-and-cfds/fees-and-charges/what-are-igs-indices-spread-bet-product-details
Spread goes up in times of high volatility so the nearest you will get is to use volatility as a proxy / guessestimate for spread.
OK – thanks for the info GraHal, I’ll have a look at the volatility route