Open dohernandez opened 5 years ago
When run the command to add dividend retentionmarket-manager account add dividend-retention -w degiro -r 0.0705 -s TWO
market-manager account add dividend-retention -w degiro -r 0.0705 -s TWO
the retention is added into the db but not added into the corresponding file.
{"@timestamp":"2019-01-06T11:34:48Z","level":"info","message":"Initializing database connection"} {"@timestamp":"2019-01-06T11:34:49Z","level":"error","message":"An error happen while getting csv writer from import for retentions -\u003e error [loading latest \"retentions\" resource import: Not found]"} {"@timestamp":"2019-01-06T11:34:49Z","error":"cbus: panic while executing command runtime error: invalid memory address or nil pointer dereference","level":"fatal","message":"Failed adding stock"}```
When run the command to add dividend retention
market-manager account add dividend-retention -w degiro -r 0.0705 -s TWO
the retention is added into the db but not added into the corresponding file.