Skip to content

Commit

Permalink
chore: update docs (#850)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender authored Jul 31, 2022
1 parent e20e4e3 commit 5dcda9a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_indicators/BasicQuote.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ Results can be further processed on `Value` with additional chain-enabled indica
```csharp
// example
var results = quotes
.GetBaseQuote(..)
.GetBaseQuote(CandlePart.OHLC4)
.GetRsi(..);

// and is equivalent to
var results = quotes
.Use(..)
.Use(CandlePart.OHLC4)
.GetRsi(..);
```

Expand Down
6 changes: 6 additions & 0 deletions docs/utilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ IEnumerable<Quote> quotes = GetHistoryFromFeed("SPY");

// advanced validation
IEnumerable<Quote> validatedQuotes = quotes.Validate();

// and can be used inline with chaining
var results = quotes
.Validate()
.Use(CandlePart.HL2)
.GetRsi(14);
```

## Utilities for indicator results
Expand Down

0 comments on commit 5dcda9a

Please sign in to comment.