From 631bd961d531da57f13527fe013c7eee4ed4bba7 Mon Sep 17 00:00:00 2001 From: Styler Date: Fri, 22 Sep 2023 12:01:09 +0200 Subject: [PATCH] Add stockprice variable documentation --- docs/chatbot/variables/stockprice.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/chatbot/variables/stockprice.md diff --git a/docs/chatbot/variables/stockprice.md b/docs/chatbot/variables/stockprice.md new file mode 100644 index 0000000..791558c --- /dev/null +++ b/docs/chatbot/variables/stockprice.md @@ -0,0 +1,26 @@ +--- +id: stockprice +tags: + - chatbot + - variable +--- + +# $(stockprice) + +Displays the current stock price of a given stock symbol. + +#### Parameters + +You must specify the stock symbol to display the price of. + +#### Example Input + +``` +${stockprice AAPL} +``` + +#### Example Output + +``` +173.93 +```