C# Class FastQuant.InstrumentManager

显示文件 Open project: fastquant/fastquant.dll Class Usage Examples

Public Methods

Method Description
Add ( Instrument instrument, bool save = true ) : void
Clear ( ) : void
Contains ( string symbol ) : bool
Delete ( Instrument instrument ) : void
Delete ( int id ) : void
Delete ( string symbol ) : void
Dump ( ) : void
Get ( string symbol ) : Instrument
GetById ( int id ) : Instrument
InstrumentManager ( Framework framework, InstrumentServer server ) : System
Load ( ) : void
Save ( Instrument instrument ) : void
this ( string symbol ) : Instrument

Method Details

Add() public method

public Add ( Instrument instrument, bool save = true ) : void
instrument Instrument
save bool
return void

Clear() public method

public Clear ( ) : void
return void

Contains() public method

public Contains ( string symbol ) : bool
symbol string
return bool

Delete() public method

public Delete ( Instrument instrument ) : void
instrument Instrument
return void

Delete() public method

public Delete ( int id ) : void
id int
return void

Delete() public method

public Delete ( string symbol ) : void
symbol string
return void

Dump() public method

public Dump ( ) : void
return void

Get() public method

public Get ( string symbol ) : Instrument
symbol string
return Instrument

GetById() public method

public GetById ( int id ) : Instrument
id int
return Instrument

InstrumentManager() public method

public InstrumentManager ( Framework framework, InstrumentServer server ) : System
framework Framework
server InstrumentServer
return System

Load() public method

public Load ( ) : void
return void

Save() public method

public Save ( Instrument instrument ) : void
instrument Instrument
return void

this() public method

public this ( string symbol ) : Instrument
symbol string
return Instrument