Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackTest ¶
type BackTest struct {
Datas data.Holder
Strategy strategies.Handler
Portfolio portfolio.Handler
Exchange exchange.ExecutionHandler
Statistic statistics.Handler
EventQueue eventholder.EventHolder
Reports report.Handler
Funding funding.IFundingManager
// contains filtered or unexported fields
}
BackTest is the main holder of all backtesting functionality
func NewFromConfig ¶
NewFromConfig takes a strategy config and configures a backtester variable to run
func (*BackTest) Run ¶
Run will iterate over loaded data events save them and then handle the event based on its type
Click to show internal directories.
Click to hide internal directories.
