sunnyhuang2008 / fintechapi Goto Github PK
View Code? Open in Web Editor NEWRESTful fintech API that provides essential portfolio information and market data.
License: MIT License
RESTful fintech API that provides essential portfolio information and market data.
License: MIT License
Pull closing price data from Alpha Vantage API given some time duration and the current date of some ticker.
This is an example of the API call for MSFT: https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&symbol=MSFT&apikey=demo
Here is the API key: 04G9FLWCWQG6NRJO
Here is the API documentation: https://www.alphavantage.co/documentation/
This section should be under the TIME_SERIES_DAILY_ADJUSTED section.
Expectations:
Input:
One or multiple ticker symbol(s) (ex: MSFT, BABA, AAPL)
Duration: 3 months
Output:
3 months of daily pricing data starting from the current day the request is made.
Should be a long JSON document of the daily pricing objects for each ticker for 3 months.
pricing item:
"2017-09-08": {
"1. open": "74.3300",
"2. high": "74.4400",
"3. low": "73.8400",
"4. close": "73.9800",
"5. adjusted close": "73.9800",
"6. volume": "14474383",
"7. dividend amount": "0.0000",
"8. split coefficient": "1.0000"
}
In fintechModels.js define mongoose data models for storing portfolio information. Below are some information that needs to be stored:
Look into math.js library
here is the documentation: https://www.alphavantage.co/documentation/#intraday
here is the api key: 04G9FLWCWQG6NRJO
Expectation:
Input: One or more ticker symbols: (ex. BABA, MSFT, AAPL)
Output:
Continuous close pricing data update per minute on the respective tickers.
Note: The market opens at 9:30 AM EDT and close at 4:00 PM EDT, and also the API documents the intra-day data for us if we wanted to analyze historical intraday results. So the function is expected to pull continuous pricing updates ONLY if during the open market sessions and ONLY when the user is looking at the intra-day portfolio data.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.