Code Monkey home page Code Monkey logo

Comments (6)

KonishchevDmitry avatar KonishchevDmitry commented on May 27, 2024 1

Thanks! You haven't received the interest yet (it's only pending yet), so there is no any information about it in Interest section, but it looks like it won't be a problem for me to support your statement, so I'll do it as soon as I'll have a free time slot for it.

from investments.

KonishchevDmitry avatar KonishchevDmitry commented on May 27, 2024

Hi! What is it in your case? You borrowed some cash and bought stocks for it or it's a cash collateral for your stocks which IB borrowed due to Stock Yield Enhancement Program? How this number affects other parts of your statement?

from investments.

ranisalt avatar ranisalt commented on May 27, 2024

@KonishchevDmitry it is the second, I have enabled the Stock Yield Enhancement Program last month.

If I remove that line, I then get:
Failed to parse ("Net Asset Value", "Data", "Securities Lent", "0", "0", "-1124", "-1124", "-1124") record: Unsupported asset class: "Securities Lent".

I'm not sure how to check how it affects other parts of my statement, those lines are one right above the other.

from investments.

KonishchevDmitry avatar KonishchevDmitry commented on May 27, 2024

Can you send me your statement (or significant parts of it) to [email protected]?

If you can't do this due to privacy reasons, I need more information to support it properly:

  1. At this point we know that there are two new asset types: Cash Collateral and Securities Lent. 1124 - what is it? Shares or USD? (I suppose, USD)
  2. Do they decrease Stock part? I need to know it, because I use Net Asset Value information for calculation of annual cash/assets flows (Russian tax statement specific). So I need to understand what to do with them: just ignore, or add up to total stock value –
    match asset_class {
    "Cash" | "Dividend Accruals" | "Interest Accruals"| "Total" => {},
    "Stock" => {
    if !record.parse_amount("Current Short", DecimalRestrictions::No)?.is_zero() {
    return Err!("Short positions aren't supported")
    }
    let amount = record.parse_amount(
    "Current Total", DecimalRestrictions::PositiveOrZero)?;
    parser.statement.assets.other.as_mut().unwrap().amount += amount;
    },
    _ => return Err!("Unsupported asset class: {:?}", asset_class),
    }
  3. What happens when you remove these lines? Parsing succedes? If not, what else you have to remove to make it work?
  4. What does Open Positions show for the lent stocks?
  5. I suppose that the result income should be listed in Interest section. What does it contain?
  6. Does cash-flow command show any warnings (yes, sorry - its output in Russian, but warnings will be in English and colored).

from investments.

ranisalt avatar ranisalt commented on May 27, 2024

I sent you the statements via email. Unfortunately, I wouldn't be able to answer most of these questions.

from investments.

KonishchevDmitry avatar KonishchevDmitry commented on May 27, 2024

Supported in v4.3.2

from investments.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.