What is a Function?

Written by Gumdrops (Community Manager)

Updated at August 1st, 2021

Functions are expressions or terms that can be used as building blocks to combine Price Sources and Value Sources to answer questions or create decision points. They cannot be used in isolation, and don't inherently provide any numerical quantities without being applied to a Price Source, Value Source or a combination thereof. There three kinds of Functions you can utilise in TradeSkillMaster:

  1. Arithmetic. You can use simple Arithmetic Operators such as addition, subtraction, multiplication, and any number of parentheses.
  2. Standard Functions. Some Standard Functions allow you to calculate averages, take the highest, lowest, or first valid Price Source from a set or perform basic value checks.
  3. Logic Functions. Advanced Logic Functions allow you to input multiple Price or Value Sources and evaluate a single output through various logic gates and operations.

Check the Which Functions are available and how do they work? page for a complete list, and details on each specific Function.