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.
|
Describes how to create a class implemening IBroker interface and route your orders to your broker, simulator or whatever.
|
|
Describes how to create a class implemening IDataSource interface (and IDataStream) and read data from your database, files or online data source.
|
|
Describes how to create a class implemening IMenuItems interface, add menus to StraTrader menu and have access to StraTrader objects from your custom code.
|
|
How to create indicators.
|
|