Comments (9)
Hi Daniel - I'm pretty sure this is the issue that was fixed in #9. I haven't released a new version yet, so you'd need to build from source to get the new version. But I'll release ASAP.
While you are here, would you mind asking a question? @jblachly has fixed ledger-autosync to output ticker symbols instead of CUSIP numbers, so in the future you will see FOO
instead of "921943858"
as the commodity. I'd like to make this the standard behavior. Will this be a big issue for you, if you have to go back and fix your ledger files?
from ledger-autosync.
@daniel-vainsencher , @egh is right, commit associated w issue #9 should fix your problem with 0 "..number code.." @ $0
, and a pending commit will also replace the 78468R721
(or whatever) in the "P" lines, which are commodity price lines.
from ledger-autosync.
@egh @jblachly Awesome! Yes, I'm currently working of releases, so I can't test right away, we'll see if you get to the release or I move to the dev version first.
To your question, re-exporting is not problem at all for me.
BTW, how about including the dividend indication? separate PR? I could do that if no one else is interested, but I won't get to it very soon.
from ledger-autosync.
@daniel-vainsencher In master, dividends should be supported. Your data should export as something like:
2016/06/20 Transaction
; dividend_from: 921943858
Assets $1.45
Income:Dividends -$1.45
from ledger-autosync.
@daniel-vainsencher What do you mean by "the dividend indication"? Do you mean formatting correctly as in @egh 's comment -- if so, commit associated with #9 fixes that.
However, if you mean titling the transaction to something like "DIVIDEND RECEIVED", I see no field called <MEMO>
in your OFX snippet. The converter looks for this to title the transaction.
You could add a check for this inside the small block of code that checks for type:income
, incometype:div
and write your own transaction description if none had been provided in an OFX <MEMO>
field.
from ledger-autosync.
Was talking about getting the right accounts, as per @egh. Time to get
master...
On Oct 28, 2016 6:04 AM, "James S Blachly, MD" [email protected]
wrote:
@daniel-vainsencher https://github.com/daniel-vainsencher What do you
mean by "the dividend indication"? Do you mean formatting correctly as in
@egh https://github.com/egh 's comment -- if so, commit associated with
#9 #9 fixes that.However, if you mean titling the transaction to something like
"DIVIDEND RECEIVED", I see no field called in your OFX snippet. The
converter looks for this to title the transaction.You could add a check for this inside the small block of code that checks
for type:income , incometype:div and write your own transaction
description if none had been provided in an OFX field.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABcrVlKDJovo52z0-GKOBhlNQUeAVQLLks5q4WX7gaJpZM4Kg2qi
.
from ledger-autosync.
I've just released 0.3.x (had a little trouble getting it to work right :) so you should be able to upgrade using pip.
from ledger-autosync.
@daniel-vainsencher Has this been fixed? Thanks!
from ledger-autosync.
I'm going to close this, please feel free to reopen if it is still an issue.
from ledger-autosync.
Related Issues (20)
- Bug in expired short option position from Vanguard HOT 3
- Bug in handling reverse stock splits from vanguard HOT 1
- Question about behaviour of -r flag HOT 3
- Question about offsetting accounts HOT 1
- Need to include commissions/fees HOT 3
- Suggestion: Find offset account by payee *and* AutosyncPayee HOT 1
- Feature request: option to store raw OFX HOT 3
- Need to be able to disable guessing of offset account from payee HOT 1
- Time for a new release? HOT 6
- One test fails HOT 5
- 2 test failures HOT 5
- 'ascii' codec can't decode error HOT 3
- Autosync: looking up payee and offset account happens differently HOT 1
- ledger UUID breaks ofxid matching HOT 6
- Workflow that could include manual entry HOT 1
- Institution provided by OFX is empty and no fid supplied! Erorr with manual download HOT 2
- imp module doesn't exist anymore in python3.12 HOT 3
- Intended way of handling transactions without date in plugin / skipping transactions? HOT 4
- ofxhome.com (and therefore ofxclient) doesn't seem to work anymore HOT 3
- Time for a new release? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ledger-autosync.