The RBA and exchange plugin is detailed in an article in our blog titled "Free RBA Cash Rate, Inflation, CPI, and Exchange Rate Graph Website Plugin". The article details how the features of the BeliefMedia RBA plugin are used.
This page provides the basic documentation necessary to use the plugin on your website. Client will already have the BeliefMedia RBA Premium plugin installed (documentation is available on Yabber).
Examples
Shortcode of [bm_cashrate]
will return the current cash rate: 4.35% (bolding is ours).
Shortcode of [bm_cashrate_graph rates_new_oo="0" rates_existing_oo="0" rates_investment="0"]
returns:
■ ■ ■
A full-featured graph is returned with shortcode of just [bm_cashrate_graph]
. The APRA reported average rates are a limited dataset so will not occupy the entire graph.
■ ■ ■
Shortcode of [bm_cashrate_graph rates_new_oo="0" rates_existing_oo="0" rates_investment="0" cpi="0" bar_colour="rgb(7, 120, 16, 0.4)" start="20191101" end="20210501"]
returns:
■ ■ ■
Shortcode of [bm_exchange]
returns:
Shortcode of [bm_exchange_value to="usd" value="3.25"]%%exchange%%[/bm_exchange_value]
returns $0. In other words, AU$3.25 will buy you USD$0.
>h3>Core Graph Exmaples
Shortcode of [bm_graph type="bar,line" labels="Q1 2020,Q2 2020,Q3 2020, Q4 2020,Q1 2021, Q2 2021" label="Percentage of Loans Written by Brokers, Belief Facebook Volume" background="#FF0000,#549A52," data="57.6|42195,58.4|38955,57.6|32542,60.1|44523,61.1|41588,59.8|40151"]
returns:
■ ■ ■
A grouped bar graph with a single line is returned as follows: [bm_graph type="bar,bar,line" labels="Alpha,Bravo,Charlie,Delta,Echo,Foxtrot" label="Foo,Bar,Bel" background="#FF0000,#549A52,#000080" data="9|8|72,22|5|67,7|8|92,10|11|125,13|14|150,16|17|45"]
. The result:
A pie chart can be returned as follows: [bm_graph type="pie" labels="Red,Blue,Green" label="Colours" background="#FF0000,#0000FF,#286C4F" data="20,50,70"]
. The result:
The pie chart can be rendered in 3D (as can any other chart) with the dimension="3d"
attribute.
RBA Cash Rate Shortcode Attributes
No attributes apply for returning the cash rate in plain text. Use as follows: [bm_cashrate]
.
RBA Graph Shortcode Attributes
Various attributes alter the manner in which data is returned to a user. Confused? Feel free to call us on 1300 235 433 for guidance.
inflation
inflation="0"
.rates_new_oo
rates_new_oo="0"
.rates_existing_oo
rates_existing_oo="0"
.rates_investment
rates_investment="0"
.cpi
cpi="0"
.points
start
and end
times.start
start
and end
date. Use as follows: start="20200601"
(1st June 2020). An 8 or 10-figure time group is accepted. Should be used with an end
date.end
start
and end
date. Use as follows: start="20200601"
(1st June 2020). An 8 or 10-figure time group is accepted. Should be used with a start
date.tuesday
width
width="600"
) will return that graph width in pixels.height
height="450"
.title
title="This is another title
).title_display
title_display="1"
to show.legend
legend="0"
to hide.legend_color
rgb(80, 80, 80)
. Use a 6-figure HEX value or RGB value.title_padding_top
title_padding_top="30"
.title_padding_bottom
title_padding_bottom="20"
.bar_colour
rgb(62, 149, 205, 0.6)
. Use a 6-figure HEX value or RGB value.inflation_colour
rgb(106, 106, 106, 0.5)
. Use a 6-figure HEX value or RGB value.inflation_point_colour
rgb(106, 106, 106, 0.5)
. Use a 6-figure HEX value or RGB value.inflation_border_colour
rgb(106, 106, 106, 0.5)
. Use a 6-figure HEX value or RGB value.inflation_border_width
inflation_border_width="3"
.inflation_border_radius
inflation_border_radius="3"
.inflation_border
inflation_border_radius="3"
.rate_colour
#727272
. Use a 6-figure HEX value or RGB value. The rate_colour_end
should normally be the same.rate_colour_end
#727272
. Use a 6-figure HEX value or RGB value. The rate_colour
should normally be the same. If the rate_colour
and rate_colour_end
colours differ, the bars will show a gradient between the two colours (not appropriate for cash rate graphs).cpi_colour
rgb(3, 124, 91, 0.2)
. Use a 6-figure HEX value or RGB value.cpi_point_colour
rgb(3, 124, 91, 0.2)
. Use a 6-figure HEX value or RGB value.cpi_border_colour
rgb(0, 0, 0, 0.2)
. Use a 6-figure HEX value or RGB value.cpi_border_width
cpi_border_width="3"
.cpi_border_radius
cpi_border_width="3"
.cpi_border
cpi_border_width="3"
.cache
cache="259200"
(3 days).Exchange Rate Shortcode Attributes
Various attributes alter the manner in which data is returned to a user. Confused? Feel free to call us on 1300 235 433 for guidance.
fields
usd,nzd,sgd,cad,eur,gbp
. Alter as required with a comma delimited string, such as fields="usd,nzd,cad"
.frequency
points
start
or end
time is provided.[/sc].cache
cache="259200"
(3 days).start
start
and end
date. Use as follows: start="20200601"
(1st June 2020). An 8 or 10-figure time group is accepted. Should be used with an end
date.end
start
and end
date. Use as follows: start="20200601"
(1st June 2020). An 8 or 10-figure time group is accepted. Should be used with a start
date.width
width="600"
) will return that graph width in pixels.height
height="450"
.title
title="This is another title
).title_display
title_display="1"
to show.legend
legend="0"
to hide.legend_color
rgb(80, 80, 80)
. Use a 6-figure HEX value or RGB value.title_padding_top
title_padding_top="30"
.title_padding_bottom
title_padding_bottom="20"
.line_border_width
ine_border_width="3"
.cpi_border_radius
ine_border_width="3"
.line_border
line_border_width="3"
.cache
cache="259200"
(3 days).Basic Exchange Currency Value
Exchange rates are returned as a placeholder within shortcode. For example, [bm_exchange_value to="usd" value="10"]my placeholder of %%exchange%% in here[/bm_exchange_value]
returns the following: my placeholder of $0 in here. This placeholder feature is reserved for a future update where we'll include tooltip text.
to
value
value
decimals
cache
Change Log
- Colour Graph Contrast: Option to degrade colour based on start and end colour. Usually not required for RBA graphing but is required for a future feature.
- Currency Conversion: Included Currency Conversions. This was an update on 0.0 as tested by a few brokers.
- Initial Release to Brokers: Version 0.1 is the first version but expected to be updated if well-received. Will provide an update link when an update is available. AT this stage only may be downloaded via Facebook Group.
Download
This plugin is currently made available from within our Facebook Group . Please note that the BeliefMedia Core plugin is required before this plugin will activate or function.
Title: BeliefMedia RBA
Description: The plugin will return a naked RBA cash rate and case rate graphs which includes optional CPI, inflation, and Interest Rate data. The secondary feature of the plugin returns a single currency exchange rate value or currency exchange rate graph.
Download • Version 0.2, 4.4K, zip, Category: WordPress Plugins (BeliefMedia Client Plugins)