Coder Social home page Coder Social logo

online training about pgportfolio HOT 8 CLOSED

zhengyaojiang avatar zhengyaojiang commented on August 16, 2024
online training

from pgportfolio.

Comments (8)

dexhunter avatar dexhunter commented on August 16, 2024 2

basically it's portfolio weight

from pgportfolio.

dexhunter avatar dexhunter commented on August 16, 2024 1

what is the online_w in datamatrices.append_experience(self, online_w=None) ? why do we need it ?

I think online_w is mostly for live trading. You can probably ignore that in backtest

from pgportfolio.

ZhengyaoJiang avatar ZhengyaoJiang commented on August 16, 2024

what is the format of the saved experience

It's just the history price movement saved at self.__globaldata

how is that different from training the model directly using self._agent.train()

The only difference is the rolling train will append new history from the test set to the training set, during backtest.

from pgportfolio.

zingomaster avatar zingomaster commented on August 16, 2024

Thank you for your reply

The only difference is the rolling train will append new history from the test set to the training set, during backtest.

I don't understand this part clearly (the experience appending part), where is this process actually happening ? i see the append experience appends index of a training data , but how get next batch returns the last omega ? where and when is the last omega saved ?

from pgportfolio.

ZhengyaoJiang avatar ZhengyaoJiang commented on August 16, 2024

where and when is the last omega saved ?

self.__PVM, PVM is short for portfolio vector memory.

from pgportfolio.

zingomaster avatar zingomaster commented on August 16, 2024

Thank you.

I have 1 last question please, sorry for being so much demanding.
what is the online_w in datamatrices.append_experience(self, online_w=None) ? why do we need it ?
I can see it's (number of assets + 1, ) but i don't understand
Regards,

from pgportfolio.

zingomaster avatar zingomaster commented on August 16, 2024

i know it's for live trading, i meant what is it ? i don't see anything telling what is it either in the paper or in the code

from pgportfolio.

zingomaster avatar zingomaster commented on August 16, 2024

okaaay, thank you a lot :) 💯

from pgportfolio.

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.