|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const NEWS_CONFIG = {
|
|
|
|
|
|
apiKey: '968a5e25552b4cb5ba3280361d8444ab',
|
|
|
baseUrl: 'https://newsapi.org/v2',
|
|
|
|
|
|
|
|
|
defaultQuery: 'cryptocurrency OR bitcoin OR ethereum OR crypto',
|
|
|
language: 'en',
|
|
|
pageSize: 100,
|
|
|
daysBack: 7,
|
|
|
|
|
|
|
|
|
autoRefreshInterval: 60000,
|
|
|
cacheEnabled: true,
|
|
|
|
|
|
|
|
|
showImages: true,
|
|
|
showAuthor: true,
|
|
|
showSentiment: true,
|
|
|
|
|
|
|
|
|
sentimentKeywords: {
|
|
|
positive: ['surge', 'rise', 'gain', 'bullish', 'high', 'profit', 'success', 'growth', 'rally', 'boost', 'soar'],
|
|
|
negative: ['fall', 'drop', 'crash', 'bearish', 'low', 'loss', 'decline', 'plunge', 'risk', 'slump', 'tumble']
|
|
|
}
|
|
|
};
|
|
|
|
|
|
|