Skip to content

Commit

Permalink
Modified MAB plot
Browse files Browse the repository at this point in the history
  • Loading branch information
filippoweb3 committed Dec 2, 2023
1 parent 29b2610 commit 46b5642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/staking_plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ stakePct_se <- round((tail(data_plot2$se, n = 1) - data_plot2$se[1])/data_plot2$
plot3 <- ggplot(data = mab_data, aes(x = date, y = mab)) +
geom_line() +
ylab("Minimum Active Bond (DOT)") + xlab("Date") +
xlim(c(max(date) - lookback, max(date))) + ylim(c(300, 800))
xlim(c(max(date) - lookback, max(date))) + ylim(c(400, 600))

data_plot3 <- mab_data[mab_data$date >= (max(mab_data$date) - lookback),]
mab_delta <- round((tail(data_plot3$mab, n = 1) - data_plot3$mab[1]), 2)
Expand Down

0 comments on commit 46b5642

Please sign in to comment.