orderbook: Creating an Object of Class Orderbook

Description Usage Arguments Details Value Examples

View source: R/orderbook.function.R

Description

Create an orderbook object from input data.

Usage

1

Arguments

file

Object of class "character" specifying the location of the data file.

Details

This function should be used to initially create the orderbook function. If you have an orderbook data.frame from a previous session, you can load it and begin from there. If you want to create an empty orderbook, just specify the file (see example).

Value

Return an object of class orderbook

Examples

1
2
3
4
library(orderbook)
filename <- system.file("extdata", "sample.txt",
                        package = "orderbook")
ob <- orderbook(file = filename)

Example output

Loading required package: lattice
Loading required package: hash
hash-3.0.1 provided by Decision Patterns

Loading required package: grid

orderbook documentation built on May 2, 2019, 12:19 p.m.