plot_tick | R Documentation |
Plot payout curves (highcharts)
plot_tick(data, title = NA, subtitle = NA, rowheight = 200, ...)
data |
output of wc_price at 1 trigger location (single contract) |
title |
chart title |
subtitle |
chart subtitle |
rowheight |
Height in px. |
... |
Arguments passed on to
|
args |
pricing arguments |
pts <- data.table(loc_id=1, X=30, Y=-17, day="2020-12-01") args <- wc_args(pts, product="MAIZ-ZWE-05-CB01", code="rfe") data <- wc_price(args=args) plot_tick(data, args)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.