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
when are stock trade fees deducted?
user
typically the fees are charged when the order is executed.  the only catch i have ever ran into is when an order is partially executed. a good-till-cancel order that gets executed in several blocks over multiple days may get charged a separate commission for each day (but typically not each block).  if this is a simple brokerage account, you could avoid the whole question by using robinhood.com, which charges no commissions or maintenance fees.
assistant