Coder Social home page Coder Social logo

Comments (9)

twiecki avatar twiecki commented on July 17, 2024

Yes, the reason is that data_live is empty because the algo_created_date < last_returns_dt. I don't know why that would be the case though.

from pyfolio.

justinlent avatar justinlent commented on July 17, 2024

ah good idea. yeah, this is quite commonly the case when the test harness backtest that was run does not include the algo_created_date in the backtest dates (this will be the case with very recent contest entries)

from pyfolio.

twiecki avatar twiecki commented on July 17, 2024

Still odd that it would work in standalone but not quantrisk?

from pyfolio.

justinlent avatar justinlent commented on July 17, 2024

in standalone, i added in logic to catch this case and then work around it. i should port over this code to the new nb to be robust to this condition possibly

from pyfolio.

twiecki avatar twiecki commented on July 17, 2024

Great!

from pyfolio.

justinlent avatar justinlent commented on July 17, 2024

@twiecki do you think we need this for the Public Beta? I believe it is only necessary logic when using one of our Q backtests.

Actually, I guess from the perspective of the bigger picture, I wonder if we need to just start maintaining 2 tearsheets from the beginning/now. e.g. tearsheet_public and tearsheet_internal, where tearsheet_public will the be tearsheet code that we release in the public opensource repo, and tearsheet_internal ends up eventually being in our internal (private) branch of the repo (or simply a whole new Quantopian private repo). Maybe you have some thoughts about organizing this as well?

from pyfolio.

twiecki avatar twiecki commented on July 17, 2024

@justinlent Agreed. I removed the milestone. However, I think we really need to get rid of the multiple versions floating around as soon as we can or we'll continuously have to port NBs and will be out of sync. I actually thought that's what 8b8c0fc was doing?

from pyfolio.

justinlent avatar justinlent commented on July 17, 2024

yep,i definitely should have caught this edge case in that commit.

from pyfolio.

twiecki avatar twiecki commented on July 17, 2024

@justinlent I moved your change over to here now: d4eff10

from pyfolio.

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.