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)

orderbook documentation built on May 20, 2017, 1:03 a.m.

Search within the orderbook package
Search all R packages, documentation and source code