Search Results
56 results found with an empty search
- Projects (All) | Akweidata
Projects Alternative Data Regressor Framework: Draft 1 A framework for linear regression of alternative data against financial asset prices View Alternative Data Regressor Framework: Flow Chart A framework for linear regression of alternative data against financial asset prices - the flow chart View Alternative Data Regressor: V1 A Python Program to attain a linear regression of some alternative data against financial asset prices . A CSV file is the input. The output is the regression results. View Beta of Fan Milk Ltd (FML): Ghana Stock Exchange (GSE) Finding the Beta of FML on the GSE using Python (Jupyter Notebook) View Cocoa Production: Ghana and Ivory Coast - 2022 Summary of Cocoa Production in Ghana and Ivory Coast in 2022. View Cocoa Production: Ghana and Ivory Coast - Historic Trend Work in progress View Cocoa Production: West Africa - 2022 Work in progress View Commentary: Brexit could lead to recession, says Bank of England An economic commentary on the article "Brexit could lead to recession, says Bank of England" View Commentary: Ghana fixes new cocoa price to control smuggling An economic commentary on the Article, "Ghana fixes new cocoa price to control smuggling" View Commentary: Washington’s Decision to “Normalize” Relations with Cuba..." An economic commentary on the article "Washington’s Decision to “Normalize” Relations with Cuba: Impede China’s Growing Influence in Latin America" View Convering Excel to CSV: Web Application A basic Web application written in HTML and Javascript to convert excel files to CSV. View Data Visualization of the Dynamic Efficiency of Oil and Gas Production in Ghana A comprehensive tool for understanding the Real-time Efficiency of Oil and Gas production in Ghana View Do Sustainable Funds in Switzerland outperform the Market? What is the performance of "sustainable" funds in relation to the market? Let's explore the case of the SIX Swiss Exchange View Dynamic Forestry and Agricultural Summary of ECOWAS states Work in progress View Dynamic View of Ghana's Unemployment Investigating the trend and segmentation of employment in Ghana View Dynamic View of Trading Hours: SIX Swiss Exchange V1 Dynamic View of the opening and closing hours of the SIX Swiss Stock exchange for 2024. Additionally, current summary of the market's activity is stated. View Dynamic view of Ghana's Forestry Work in progress View Dynamic view of Ghana's Insurance Industry Work in progress View ESG Strategies: Passive and Active Management Do the laws of passive and active strategies also affect sustainability investing? View Electricity Consumption as a proxy of production: Draft 1 Using publicly available data on Swiss Power Consumption, this exploration seeks to identify an association with power consumption and select firms output View Expected Loss Calculator A simple tool to calculate the Expected Loss for a credit portfolio. View Financial Performance of Ghana's political regimes from 1960 - 2000 Analysis of Economic Growth in Ghana, 1960 – 2000 – ARYEETEY & FOSU View Fixed Deposits Offers in Ghana A simple directory that shows Fixed Deposit offers in Ghana View Game Theory: Prisoner's Dilemma Strategies Tools Recreating and Simulating Robert Axelrod's 1980 Computer Tournament. View Ghana Stock Exchange: Real-Time Prices Web App V1 A basic web-application to find real time summaries of stocks on Ghana's Stock Exchange (GSE) View Google News Scrapper Scrape Google News articles for a particulair keyword and date range View Hedonic Valuation Model: Real Estate in Zurich With significant portions of banks portfolios consisting of mortgage loans, it is paramount to develop a strong model for valuating real estate. View Hollywood Boulevard to Wall Street: Futurism in Movies and Tech-Stock Prices This study investigates the relationship between the box office sales of futurism-themed movies and the performance of the tech stock index. View How Much Time Do I have left? Visualizing and Quantifying our most valuable asset: "Time" View How much time do I have left? - Version 2 Visualizing and Quantifying our most valuable asset: "Time"; Version 2 View Initial margin requirement for Derivative Trading A simplified VaR-based approach to calculate the initial margin requirement for Derivative Trading View Is ignorance truly bliss? Investigating the link between the lack of general information and the conception of the economy in Ghana. Project from 2018 View Manipulating File Paths: Backward to Foward Slashes A program made to convert backward slashes in file path names to foward slashes. Targeted for Windows users when copying paths to R or Pthon. View Paradox of Choice and Utility Maximization: Music Traditional Asset Pricing models are conceptually based on utility maximization. However, what about the role of the quantity of choices in utility maximization? View Photography Tool: Black & White Conversion A basic photo editor to convert PNG pictures from color to Black and White View Plain Vanilla Bond Price Calculator A web application that takes the arguments of FV, Coupon Rate, YTM and Periods to price a Plain Vanilla Bond View Prisoner's Dilemma: Player 2 Allowing users to participate in Robert Axelrod's 1980 Computer Tournament. View Proving the Butterfly Effect Within the context of metreology and physics, we can explore the butterfly effect View Scrapping Data using Python A Python application designed to generate a histogram depicting the frequency of articles published on Google News in 2022 concerning '@celebjets'. View Scrapping Oil related articles Run on python via GoogleCollab View Smartphone App for University Students An all-purpose app for Ashesi students. Project from 2017 View Snapshot Macroeconomic Summary of ECOWAS States: 2022 As at the end of 2022, this is was the macroeconomic status of each ECOWAS state View Sustainability Dimensions of Stocks on the SIX:Render 1 Quantitatively assessing Brundtland's Dimensions (1987). The case of the SIX View Sustainability Dimensions of Stocks on the SIX:Render 2 Quantitatively assessing Brundtland's Dimensions (1987). The case of the SIX View Sustainability Dimensions of Stocks on the SIX:Render 3 Quantitatively assessing Brundtland's Dimensions (1987). The case of the SIX View The Solow Model and Human Capital in Developing Economies How can human capital enrichment lead to long-run economic growth? View Value at Risk (VaR) for a portfolio Simple Tool using a historical simulation to find VaR View Web scrapping Box Office Sales A python code used to web scrape data from Box Office Mojo's Website. View Web-Scrapper V1: Web Application Web Application for web-scrapping news articles View frankenstein.io - Draft 1 Restructuring & Simplifying "Frankenstein codes" View
- Dynamic Forestry and Agricultural Summary of ECOWAS states | Akweidata
< Back Dynamic Forestry and Agricultural Summary of ECOWAS states Work in progress Previous Next
- Scrapping Oil related articles | Akweidata
< Back Scrapping Oil related articles Run on python via GoogleCollab # Install and set up necessary packages and dependencies !pip install selenium !apt-get update !apt install chromium-chromedriver import sys sys.path.insert(0,'/usr/lib/chromium-browser/chromedriver') from selenium import webdriver from selenium.webdriver.chrome.options import Options from bs4 import BeautifulSoup import pandas as pd # Set up Chrome options for Selenium chrome_options = Options() chrome_options.add_argument('--headless') chrome_options.add_argument('--no-sandbox') chrome_options.add_argument('--disable-dev-shm-usage') # Initialize the Chrome WebDriver with the specified options driver = webdriver.Chrome(options=chrome_options) # Fetch the Web Page url = 'https://news.google.com/search?q=oil%20prices' driver.get(url) # Get the page source and close the browser html = driver.page_source driver.quit() # Parse the Web Page using BeautifulSoup soup = BeautifulSoup(html, 'html.parser') articles = soup.find_all('article') # Extract the Necessary Information news_data = [] base_url = 'https://news.google.com' for article in articles: # Extracting the title and link title_link_element = article.find('a', class_='JtKRv', href=True) title = title_link_element.text.strip() if title_link_element else "No Title" link = base_url + title_link_element['href'][1:] if title_link_element else "No Link" # Extracting the date time_element = article.find('time') date = time_element['datetime'] if time_element and 'datetime' in time_element.attrs else time_element.text.strip() if time_element else "No Date" news_data.append([title, link, date]) # Store the Data in a DataFrame df = pd.DataFrame(news_data, columns=['Title', 'Link', 'Date']) csv_file = 'google_news_oil_prices.csv' df.to_csv(csv_file, index=False) # Download the file to your computer (only works in Google Colab) try: from google.colab import files files.download(csv_file) except ImportError: print("The files module is not available. This code is not running in Google Colab.") Future Projects: Relation of frequency of Oil related posts and sustainability risks Relation of frequency of Oil related posts and Stock Prices (General & Oil producing/intensive firms) Updated Code # Install and set up necessary packages and dependencies !pip install selenium !apt-get update !apt install chromium-chromedriver import sys sys.path.insert(0,'/usr/lib/chromium-browser/chromedriver') from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from bs4 import BeautifulSoup import pandas as pd import time from datetime import datetime, timedelta import re # Function to convert various date formats to a standardized format def convert_relative_date(text): current_datetime = datetime.now() current_year = current_datetime.year if 'hour' in text or 'hours' in text: return current_datetime.strftime('%Y-%m-%d') elif 'day' in text or 'days' in text: match = re.search(r'\d+', text) days_ago = int(match.group()) if match else 0 return (current_datetime - timedelta(days=days_ago)).strftime('%Y-%m-%d') elif 'minute' in text or 'minutes' in text: return current_datetime.strftime('%Y-%m-%d') elif 'yesterday' in text.lower(): return (current_datetime - timedelta(days=1)).strftime('%Y-%m-%d') else: try: parsed_date = datetime.strptime(text, '%b %d') return datetime(current_year, parsed_date.month, parsed_date.day).strftime('%Y-%m-%d') except ValueError: return text # Return the original text if parsing fails # Set up Chrome options for Selenium chrome_options = Options() chrome_options.add_argument('--headless') chrome_options.add_argument('--no-sandbox') chrome_options.add_argument('--disable-dev-shm-usage') # Initialize the Chrome WebDriver with the specified options driver = webdriver.Chrome(options=chrome_options) # Fetch the Web Page url = 'https://news.google.com/search?q=oil%20prices' driver.get(url) # Scroll the page to load more articles for _ in range(5): # Adjust the range for more or fewer scrolls driver.find_element(By.TAG_NAME, 'body').send_keys(Keys.END) time.sleep(2) # Wait for page to load # Get the page source and close the browser html = driver.page_source driver.quit() # Parse the Web Page using BeautifulSoup soup = BeautifulSoup(html, 'html.parser') articles = soup.find_all('article') # Extract the Necessary Information news_data = [] base_url = 'https://news.google.com' for article in articles: title_link_element = article.find('a', class_='JtKRv', href=True) title = title_link_element.text.strip() if title_link_element else "No Title" link = base_url + title_link_element['href'][1:] if title_link_element else "No Link" time_element = article.find('time') date = time_element.text.strip() if time_element else "No Date" news_data.append([title, link, date]) # Store the Data in a DataFrame df = pd.DataFrame(news_data, columns=['Title', 'Link', 'Date']) # Convert dates to a standardized format for i, row in df.iterrows(): df.at[i, 'Date'] = convert_relative_date(row['Date']) # Save the DataFrame to CSV csv_file = 'google_news_oil_prices.csv' df.to_csv(csv_file, index=False) # Download the file to your computer (only works in Google Colab) try: from google.colab import files files.download(csv_file) except ImportError: print("The files module is not available. This code is not running in Google Colab.") Previous Next
- Do Sustainable Funds in Switzerland outperform the Market? | Akweidata
< Back Do Sustainable Funds in Switzerland outperform the Market? What is the performance of "sustainable" funds in relation to the market? Let's explore the case of the SIX Swiss Exchange Previous Next
- Smartphone App for University Students | Akweidata
< Back Smartphone App for University Students An all-purpose app for Ashesi students. Project from 2017 Life at Ashesi University, like any university, can be overwhelming and disorganized. To streamline this experience, I suggest the development of a versatile mobile app that centralizes various essential services, thereby aiding in effective time management for students. The university offers a range of services including student support, counseling, and tutoring. However, accessing these services often proves to be a cumbersome and time-consuming process. In addition to these, many students are unaware of the contact details for on-campus emergency services and national emergency numbers in Ghana. In critical situations, this lack of information could lead to wastage of precious time. To tackle these issues, the proposed app would be a comprehensive solution. It would feature functionalities like accurate weather forecasts by integrating with the Accuweather website for Berekuso forecasts, a meal plan balance checker linked with the Ashesi meal plan webpage, and a digital menu for campus eateries like Akornor and Big Ben. Additionally, the app would include a directory of contact details for Ashesi’s various services and emergency services, with the added convenience of calling these contacts directly from the app. This integration would ensure that all necessary information and services are readily accessible to students, thereby enhancing their university experience and safety. Pseudocode 1. When the app is started the homepage is displayed. 2. The homepage displays titles “Meal Plan,” “Weather,” “Ashesi Services,” “Food” and “Emergency Services.” 3. If “Meal Plan” is selected, the webpage of the Ashesi Meal plan is displayed. 4. If “Weather” is selected, the webpage for accuweather (set for Berekuso) is displayed. 5. If “Food” is selected restaurants in Ashesi are displayed. 6. Select any restaurant and their menu shall be displayed. 7. If “Ashesi Services” is selected a list of Ashesi Services are displayed. 8. Select any service and their contact details is displayed for calling . 9. If “Emergency Services” is selected a list of Emergency Services are displayed. 10. Select any emergency service and their contact details is displayed for calling . Figure 1: Flowchart * Due to the senstivity of some information within the app, kindly request for access. Upon access being granted, the links below shall be temporarily activated. Download APK via Github: https://github.com/akweix/Ash-App Download Android App via Thunkabale: https://x.thunkable.com/copy/b63301e1a6082169dd0d9aa036ac119d Previous Next
- Alternative Data Regressor Framework: Flow Chart | Akweidata
< Back Alternative Data Regressor Framework: Flow Chart A framework for linear regression of alternative data against financial asset prices - the flow chart Previous Next
- Web-Scrapper V1: Web Application | Akweidata
< Back Web-Scrapper V1: Web Application Web Application for web-scrapping news articles Full code here on Python Anywhere Previous Next
- Ghana Stock Exchange: Real-Time Prices Web App V1 | Akweidata
< Back Ghana Stock Exchange: Real-Time Prices Web App V1 A basic web-application to find real time summaries of stocks on Ghana's Stock Exchange (GSE) This Web-app is fully powered by GSE-API: Ghana Stock Exchange API found on http://dev.kwayisi.org/ . Github: https://github.com/akweix/GSE_price_finder Listed Companies and their Tickers on GSE Previous Next
- Sustainability Dimensions of Stocks on the SIX:Render 2 | Akweidata
< Back Sustainability Dimensions of Stocks on the SIX:Render 2 Quantitatively assessing Brundtland's Dimensions (1987). The case of the SIX Previous Next
- Cocoa Production: Ghana and Ivory Coast - Historic Trend | Akweidata
< Back Cocoa Production: Ghana and Ivory Coast - Historic Trend Work in progress Previous Next
- Initial margin requirement for Derivative Trading | Akweidata
< Back Initial margin requirement for Derivative Trading A simplified VaR-based approach to calculate the initial margin requirement for Derivative Trading Previous Next