Dear all i am struggeling with importing stock trades, with the cost & price. Can you help me?
here is where I am so far: postings=[ data.Posting(Account, quantity, None, price, None, None), results in a postings Assets:Invest:IB:VXUS:VXUS 1 VXUS @ 38.29 USD and cost=position.Cost(price,currency,None,'mylabel') postings=[ data.Posting(Account, quantity, cost, None, None, None), results in Assets:Invest:IB:VXUS:VXUS 1 VXUS {"mylabel"} how do I have to modify those lines such that i get the format as in the documentation, with cost (and, on selling, the price and cost) correctly as in the documentaion: Assets:ETrade:IVV 10 IVV {183.07 USD} or, on selling, like Assets:ETrade:IVV -10 IVV {183.07 USD} @ 197.90 USD Thanks! -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/a88bb3bb-7359-4330-8900-00d401a24a01%40googlegroups.com.