Comments (4)
A good first step here would be to refactor all the URL fetches to occur with a single method call that returns the dictionary of final results for the UI.
Then the URL handler can just call this function and return the result.
Separate code could then call into this function manually for things like APIs.
from isthisstockgood.
Code is now separated, but feasibility is limited by AppEngine. I'd have to rate limit the API and provide API keys, which feels like a lot of work for minimal payout.
It's easiest to just clone the code locally and execute the DataFetcher calls manually. (As a short-term workaround.)
from isthisstockgood.
I added a separate repo to do this: https://github.com/mrhappyasthma/Rule1-StockScreener
Coding up an API (even if it's not enable for now due to cost limitations) may still be a nice stretch goal.
from isthisstockgood.
I view the API-like endpoint you created in 2021 as a convenient test interface for the computing logic.
While the test methods calling particular classes would need to be updated in case the internal logic changes, such tests would ensure no update would be needed as long as the output (dict
) remains the same.
This may be a totally unhelpful idea.
I just wanted to let you know I've been experimenting with it, and the test code is here.
Credit: Thinking of such tests was possible for me only thanks to the internal "endpoint" you created in 2021:)
from isthisstockgood.
Related Issues (20)
- First couple clicks on 'analyze' button don't seem to do anything. HOT 7
- Sticker Price / Margin Of Safety calculation failing. HOT 2
- Crash found for some tickers.
- Crash can occur, but not sure on repro steps HOT 3
- Suggestion: Include other stocks instead of just US ones HOT 7
- Margin of safety based on ttm EPS gives quite surprising result. HOT 4
- Queries are failing - im guessing morningstar scraping is failing HOT 6
- says mbuu is an invalid stock HOT 4
- which of the three valuation methods from R#1 is it using? HOT 1
- Support for tickets with hyphen - or period . ? HOT 10
- Sticker Price and Margin of Safety Price Always Show as Undefined HOT 6
- Add simple daily CI tests to verify data scraping dependencies HOT 1
- Long term debt is unknown HOT 5
- StockRow's ROIC is inaccurate
- Getting "Undefined" instead of Sticker Price for NVDA and other tickers HOT 6
- Fixes to the JS and major problem with yahoo API HOT 4
- Another ship's lost HOT 8
- Undefined values HOT 1
- Debt - should we consider only the long-term amount, like we did before the recent fixes? HOT 4
- Debt-to-equity ratio seems off HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isthisstockgood.