Description Usage Arguments Details Value Author(s) References See Also
This function is for obtaining the higher bid, the lower ask and the spread between them.
1 | MT5.BidAskSpread(sSymbol)
|
sSymbol |
character; target symbol. |
For same result, use MT5.BidAskBook()
and calculate the difference between the best bid and ask.
For Forex brokers this function will return an empty data.frame
.
Data.frame [1x4] is returned, with follow informations:
sSymbol {character}
: symbol used.
fBid {numeric}
: higher bid.
fAsk {numeric}
: lower ask.
Spread {numeric}
: difference between lower ask and higher bid.
Guilherme Kinzel, guikinzel@gmail.com
https://www.investopedia.com/terms/o/order-book.asp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.