MT5.BidAskBook: Order book

Description Usage Arguments Value Author(s) References See Also

View source: R/Source_MT5.R

Description

This function is for obtaining Bid or Ask order book with specified book depth.

Usage

1
MT5.BidAskBook(sSymbol, iBidAsk = 0, iBookDepth = 5)

Arguments

sSymbol

character; target symbol

iBidAsk

int; if iBidAsk = 0 Bid is given, iBidAsk = 1 Ask is given (default 0).

iBookDepth

int; book depth (default 5)

Value

Data.frame [nx2] is returned, with follow informations:

(Stocks market) If its returns a line with fPrices = 0 the market is in auction. Check references.

(Stocks market) In auctions this function cannot reflect the book properly.

Author(s)

Guilherme Kinzel, guikinzel@gmail.com

References

https://www.investopedia.com/terms/o/order-book.asp https://www.investopedia.com/terms/a/auctionmarket.asp

See Also

MT5.BidAskSpread()


Kinzel/mt5r documentation built on March 25, 2021, 9:57 p.m.