Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified BackTestStock/BackTestStock/BackTestStock.psd1
Binary file not shown.
2 changes: 2 additions & 0 deletions BackTestStock/Cmdlet/GetStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

namespace BackTestStock.Cmdlet
{
// Cmdlet to Get the strategies available
// Use dynamic parameter to determine the strategies available
[Cmdlet(VerbsCommon.Get, "Strategy")]
public class GetStrategy : PSCmdlet, IDynamicParameters
{
Expand Down
2 changes: 2 additions & 0 deletions BackTestStock/StockData/HistoricalData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ public enum HistoricalDataType

/// <summary>
/// Used when data is provided is daily.
/// Does not have to be set
/// If set, then try to choose only that date of each month.
/// </summary>
public int StartDay { get; set; }

public List<Stock> Stocks;

// Ticker of the stock
public string Ticker { get; set; }

public string Name { get; set; }
Expand Down
1 change: 1 addition & 0 deletions BackTestStock/StockData/Ranking.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

namespace BackTestStock.StockData
{
// Struct to help with ranking stock
public struct Ranking
{
public double IndicatorValue;
Expand Down