@barchart/portfolio-api-common 1.2.47 → 1.2.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -175,23 +175,17 @@ module.exports = (() => {
|
|
|
175
175
|
|
|
176
176
|
formatters.set(TransactionType.DISTRIBUTION_FUND, (t) => {
|
|
177
177
|
return {
|
|
178
|
-
shares: t.
|
|
178
|
+
shares: t.quantity,
|
|
179
179
|
fee: t.fee
|
|
180
180
|
};
|
|
181
181
|
});
|
|
182
182
|
|
|
183
183
|
formatters.set(TransactionType.DISTRIBUTION_REINVEST, (t) => {
|
|
184
184
|
return {
|
|
185
|
-
<<<<<<< HEAD
|
|
186
|
-
shares: t.quantity,
|
|
187
|
-
fee: t.fee
|
|
188
|
-
=======
|
|
189
|
-
boughtSold: t.quantity,
|
|
190
185
|
shares: t.snapshot.open.subtract(t.quantity),
|
|
191
186
|
price: t.dividend.price,
|
|
192
187
|
fee: t.fee,
|
|
193
188
|
rate: t.dividend.rate
|
|
194
|
-
>>>>>>> ec3861f5eeab5fdbfa9275d5ef3f5b988b90999b
|
|
195
189
|
};
|
|
196
190
|
});
|
|
197
191
|
|