queryorder: queryorder

Description Usage Arguments Details Value Examples

View source: R/hftsimulator.r

Description

get current queuing orders.

Usage

1
queryorder(orderids = NULL)

Arguments

orderids

specyfing order ids to be queried, return all orders if orderids=NULL, default NULL.

Details

return a data.frame of current queuing orders, each row of the data.frame representing an order, queryorder will return all of the queuing orders if orderid is NULL. when there is no queuing orders, queryorder will return a data.frame with 0 rows.

Value

a data.frame of queuing orders.

Examples

1
2
3
4
5
6
7
## Not run: 
## get all queuing orders
queryorder()
## get all orders that satisfying orderid%in%c("order1","order2")
queryorder(orderids=c("order1","order2"))

## End(Not run)

chenhaotian/High-Frequency-Trading-Simulation-System documentation built on April 18, 2018, 9:24 p.m.