Trady is a handy library for computing technical indicators, and it targets to be an automated trading system that provides stock data feeding, indicator computing, strategy building and automatic trading. It is built based on .NET Standard 2.0.
So I can't make a strategy testing, because some methods do not exist
var runner = new Builder()
.Add(fb)
.Buy(buyRule)
.Sell(sellRule)
.BuyWithAllAvailableCash()
.FlatExchangeFeeRate(0.001m)
***.Premium(1)
.Build();
Here is what I see in the lib:
namespace Trady.Analysis.Backtest
{
public class Builder
{
public Builder();
public Builder Add(IEnumerable<IOhlcv> candles, int weighting = 1);
public Runner Build();
public Builder Buy(Predicate<IIndexedOhlcv> rule);
public Builder BuyPartialCurrencies();
public Builder Fee(decimal fee);
public Builder Sell(Predicate<IIndexedOhlcv> rule);
}
So I can't make a strategy testing, because some methods do not exist var runner = new Builder() .Add(fb) .Buy(buyRule) .Sell(sellRule) .BuyWithAllAvailableCash() .FlatExchangeFeeRate(0.001m) ***.Premium(1) .Build();
Here is what I see in the lib:
namespace Trady.Analysis.Backtest { public class Builder { public Builder();
}
It is different then in repo: https://github.com/lppkarl/Trady/blob/60622a5b52284186c595892ed6f69eb60b579bd7/Trady.Analysis/Backtest/Builder.cs#L8
Please help!