as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
how to model fees from trades on online platforms?
user
where a1 is the number of trades. you may have to change the number 100 to 99 depending on how the 100th trade is charged. the idea is to use the if statement to determine the price of the trades. once you are over the threshold the price is 14*number over threshold.
assistant