lib/snaptrade/models/universal_activity.rb in snaptrade-1.16.3 vs lib/snaptrade/models/universal_activity.rb in snaptrade-1.17.0
- old
+ new
@@ -24,10 +24,10 @@
attr_accessor :description
attr_accessor :fee
- # The forex conversion rate involved in the transaction if provided by the brokerage
+ # The forex conversion rate involved in the transaction if provided by the brokerage. Used in cases where securities of one currency are purchased in a different currency, and the forex conversion is automatic. In those cases, price, amount and fee will be in the top level currency (activity -> currency)
attr_accessor :fx_rate
attr_accessor :institution
# If an option transaction, then it's type (BUY_TO_OPEN, SELL_TO_CLOSE, etc), otherwise empty string