Git Product home page Git Product logo

1_project_1_prediction-_prices_of_wheat's Introduction

NU FinTech Project 1 Group 3

In this project we posed as consultants to Kraft-Heinz Corportaion. We noticed that the price of wheat is increasing. Wheat is a critical input for Kraft-Heinz products and the increase in prices is cutting into the bottom line. With this investigation we set out to better understand what factors may be correlated to the increase in wheat prices. Our working hypothesis is that rising oil prices are the most impactful factor, but it may also be related to carbon emissions, drought index, volatility of the US dollar, and the price of urea (nitrogen fertilizer) and copper as a critical farming inputs. Additionally, we wanted to map out the countries that are the largest importers and exporters of wheat products.

Libraries

In order to run our code these are libraries that need to be installed.

  • investpy
  • html5lib
  • pandas
  • numpy
  • yfinance
  • geopandas
  • keplergl
  • pathlib
  • seaborn
  • matplotlib.pyplot

Data

All of the necessary dat to run our code can be found in the "Data" folder

Code Modules

Our final combined code can be found in the "Notebooks" folder -> master-notebook.ipynb

We divided our project in to the following code modules

  • Price of wheat over time
  • Kraft Heinz Stock Trends
  • Correlation between wheat, carbon, and crude futures
  • Correlation between wheat, copper, the dollar index, and drought
  • Map visualizations of largest importers and exporters of wheat (Please note this code does not show the map visualization in a jupyter notebook, but the visualizations appear in colab)

Graphs

Note : All graphs are in folder: Data

The diagram bellow shows the trend between all commodites and indexs we had in our analysis we can see in plot 2014 period to mid 2015 the oil prices went down then automatically wheat prices went down in same period due to many factors: 1.Russia annexed crimea caused a disruption of Global wheal supply in 2014 to control the black Sea which is the port to export the wheat out of Ukraine which is the fifth largest wheat exporter. image

The secode diagram shows Urea(Fertilizer) is highly correlated with wheat price if Urea goes up the wheat goes up automatically image

Thirdly the wheat trends bellow shows significantly high trend in 2012/2013 because it was the best year of harvesting no drought no flood throughout season after that in 2016/107 trend was pretty steep downwards for many reasons: Weaken of US dollars in this period, the trade war between US And China and at the end of 2022 the wheat trends jumped back up as it was in 2013 because the pandemic played major role of changing global wheat market directions. image

The fourth plot is 21 window mean prices for 10 years period image

The fifth plot 21 window std and we can high volatilitity throught 10 years persiod image

Lastly I overlayed 2 plots one with noise and the other without noise: the smoothest rolling mean image

Conclusion

The wheat market is projecting a CAGR of 4.5% of period 2022/2027 under a new restrictions because of pandemic when supply chain got distruped the wheat supply got reduced.

1_project_1_prediction-_prices_of_wheat's People

Contributors

bille374 avatar mrness avatar cyndercone2 avatar

Watchers

 avatar  avatar Alec avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.