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
The following beancount transaction cannot be generated using the code directly as cost_to_str in position.py does not properly handle a Cost object with currency but no amount.
The following beancount transaction cannot be generated using the code directly as cost_to_str in position.py does not properly handle a Cost object with currency but no amount.
`
`
Target output
2019-05-29 * "Sell a stock"
Assets:Stock -1 AAPL {USD}
Assets:Cash 150 USD
Actual output
2019-05-29 * "Sell a stock"
Assets:Stock -1 AAPL {}
Assets:Cash 150 USD
I had to patch position.py (in red) to be able to handle the above code and generate the target output above.
The text was updated successfully, but these errors were encountered: