Skip to content

Commit

Permalink
Fixed Error
Browse files Browse the repository at this point in the history
Fixed an error where articles wouldnt render due to low data
  • Loading branch information
serkor1 committed Oct 6, 2023
1 parent c7701fa commit a89c2de
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions vignettes/articles/04_quantmod.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ head(
)
```

We can pass ```ATOMUSDT``` directly into the ```chartSeries```
We can pass ```ATOMUSDT``` directly into the ```chartSeries``` and adding bollinger bands indicators using ```quantmod::addBBands```

```{r, out.width="100%",fig.align='center',fig.height=5}
## chart the spotAtom
Expand All @@ -63,11 +63,10 @@ quantmod::chartSeries(
x = ATOMUSDT,
theme = quantmod::chartTheme('white')
)
## add Bollinger
## bands
quantmod::addBBands(n = 2)
```


```{r, out.width="100%",fig.align='center',fig.height=5}
## chart the ATOMUSDT
## with candlesticks
quantmod::addMACD()
```

0 comments on commit a89c2de

Please sign in to comment.