StraTrader
Search:

Extending StraTrader

On startup, StraTrader loads all DLLs in its binary directory and tries to find all classes that implement certain interfaces. It uses these classes to create Data Sources, Brokers, etc. The loadable interfaces are:

  • IBroker
  • IDataSource
  • IMenuItems
  • IIndicator

So if you create your own DLL that implements one or more of these classes and put it into StarTrader directory, then your classes will be automatically found and loaded. The following links give some more details on implementing these interfaces. Please note that source code for sample extensions is included in installation.

Creating custom Broker
Describes how to create a class implemening IBroker interface and route your orders to your broker, simulator or whatever.
Creating custom Data Source
Describes how to create a class implemening IDataSource interface (and IDataStream) and read data from your database, files or online data source.
Creating menu plugin
Describes how to create a class implemening IMenuItems interface, add menus to StraTrader menu and have access to StraTrader objects from your custom code.
Creating indicators
How to create indicators.

About Us   Contact Us   Download   ©2007-2008 Mike Kramarenko in association with SmartProj.com