-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add symbol/market metadata #230
Comments
Global or market relevant or symbol relevant data will be stored as metadata represented by timeseries keyed by its name located in the specific section. Updating workflow should be designed to update data - initial vs. update) - plugin system.
# Example data for AAPL Earnings
aapl_earnings = {
'date': ['2024-07-27', '2024-04-27', '2024-01-27'],
'actual': [1.25, 1.15, 1.20],
'estimate': [1.20, 1.18, 1.22]
}
# Example data for AAPL Dividend Ex-Dates
aapl_dividends = {
'date': ['2024-08-10', '2024-05-10', '2024-02-10'],
'dividend': [0.22, 0.21, 0.20]
}
# Combine into a dictionary for symbols
symbol_metadata = {
'AAPL': {
'Earnings': aapl_earnings,
'Dividend_Ex_Date': aapl_dividends
}
}
# Example data for CPI as a DataFrame
cpi_df = {
'date': ['2024-08-01', '2024-07-01', '2024-06-01'],
'actual': [3.2, 3.0, 3.1],
'estimate': [3.1, 2.9, 3.0]
}
# Example data for Fed Interest Rate
fed_rate = {
'date': ['2024-08-01', '2024-07-01', '2024-06-01'],
'actual': [5.25, 5.00, 5.10],
'estimate': [5.3, 5.1, 5.15]
}
# Combine into a dictionary
us_market_metadata = {
'CPI': cpi_df,
'Fed_Interest_Rate': fed_rate_df
}
markets_metadata = {
'US': us_market_metadata
} |
Assumption: metadata are standalone data entity and not directly linked to source data (historical/rt aggregated data) Suggested data structure:
Maybe covered by metadata variable, keyed by symbol/market. Thus can be solved separately in this issue. Domyslet jak se budou plnit symbol a market metadata, konifgurace ve stratvars a životní cyklus (jak je používat v indikátorech a podmínkách, např. suspendovat v earnigns dnech nebo hodinu před a po CPI) |
According to new decision the symbol and market metadata will be realized as type of source, whose source_id will be defined in |
add various macro economic data (bond yields, interest rates, inflation including comparing with estimates) and symbol relevant data (earning, dividends etc.)
Allow adding new various data on the fly (global, specific economy/industry related, symbol related) - namodelovat strukturu (časová/statická etc.)
Zvážit využití finGPT, market sentiment, news sentiment....
The text was updated successfully, but these errors were encountered: