You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For multiple entries under lots with the same symbol, only the first fixed_cost is being considered. This has two implications, first the value of fixed_cost does not accumulate for the same symbol and, second, if fixed_cost is only introduced in the second or later instance of a symbol in the lots, its value is completly ignored.
To Reproduce
Using this configuration that is basically the one in the README.md:
For multiple entries under
lots
with the same symbol, only the firstfixed_cost
is being considered. This has two implications, first the value offixed_cost
does not accumulate for the same symbol and, second, iffixed_cost
is only introduced in the second or later instance of a symbol in thelots
, its value is completly ignored.To Reproduce
Using this configuration that is basically the one in the
README.md
:The cost displayed is 4000 instead of the expected 4007.
Also, if using this configuration:
The cost that is displayed is 7002 instead of 7005.
Expected behavior
fixed_cost
of all entries underlots
should be considered and accumulate across multiple entries for the same symbol.Environment:
Possible solution
Change line 160 in
asset.go
from:to:
The text was updated successfully, but these errors were encountered: