Giter VIP home page Giter VIP logo

Comments (8)

jpdeleon avatar jpdeleon commented on May 22, 2024

@jgendrinal Does your caching have the same behavior as the latter function described above?

from fastquant.

 avatar commented on May 22, 2024

Yup.

from fastquant.

jpdeleon avatar jpdeleon commented on May 22, 2024

Can you refer to the line? I want to see how you implement it in R.

from fastquant.

jpdeleon avatar jpdeleon commented on May 22, 2024

To make get_pse_data faster,

  • include 5 years historical data of all symbols as cache in /data (~9MB)
  • download only newer data if needed

from fastquant.

 avatar commented on May 22, 2024

Will close my previous issue on this, but will add r-dev tag

from fastquant.

 avatar commented on May 22, 2024

Need help handling this issue first (#57) so that we can minimize data being stored in cache

from fastquant.

 avatar commented on May 22, 2024

@jpdeleon, proposing alternative solution:

  • Upon first use of get_pse_data, download 3 years worth of stock prices
  • Store a csv file named with the ticker symbol and date range in /fq-data folder in current directory of the user

get_pse_data will then execute the following:

  • Check to see if symbol is found among files in /fq-data
  • Check to see if their query falls outside the date range
  • Query to API all necessary files
  • Cache additional to combined new csv file in /fq-data folder

from fastquant.

 avatar commented on May 22, 2024

Temporarily closing caching until we can harmonize Python and R caching conventions.

from fastquant.

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.