Hi,
According to the documentation, the argument 'TxnFees' in 'ruleSignal' is numeric fees (usually negative) or function name for calculating TxnFees (processing happens later, not in this function) in quantstrat packages,
In the case of using function for 'TxnFees' argument, how can I get the value of the orderprice and orderqty from transactions.
And, can you show me an example to use function for 'TxnFees' argument?
Wonjae Lee

	[[alternative HTML version deleted]]

