From 622cedf4d5f30de0f42c0156075425d9bc745f67 Mon Sep 17 00:00:00 2001 From: Richard Evans Date: Tue, 22 Oct 2024 11:22:35 +0800 Subject: [PATCH 1/2] Added trade.py and updated constants.py --- ogphl/constants.py | 1 + ogphl/trade.py | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 ogphl/trade.py diff --git a/ogphl/constants.py b/ogphl/constants.py index b275e7e..1562d8e 100644 --- a/ogphl/constants.py +++ b/ogphl/constants.py @@ -8,6 +8,7 @@ VAR_LABELS = { + "EX": "Trade value in exports" "Y": "GDP ($Y_t$)", "C": "Consumption ($C_t$)", "L": "Labor ($L_t$)", diff --git a/ogphl/trade.py b/ogphl/trade.py new file mode 100644 index 0000000..6c8becc --- /dev/null +++ b/ogphl/trade.py @@ -0,0 +1,13 @@ +""" +This is the trade module for OG-PHL +""" + +import pandas as pd +import numpy as np +import os +from ogphl.constants import CONS_DICT, PROD_DICT + + +def export_share(imperfect_competition, dev_indic): + stuff + return exp_share From 74ec833887fad8f2a5a7410f01c5f841d67e026c Mon Sep 17 00:00:00 2001 From: Richard Evans Date: Tue, 22 Oct 2024 11:40:59 +0800 Subject: [PATCH 2/2] Fixed typo in constants.py --- ogphl/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogphl/constants.py b/ogphl/constants.py index 1562d8e..35b296f 100644 --- a/ogphl/constants.py +++ b/ogphl/constants.py @@ -8,7 +8,7 @@ VAR_LABELS = { - "EX": "Trade value in exports" + "EX": "Trade value in exports", "Y": "GDP ($Y_t$)", "C": "Consumption ($C_t$)", "L": "Labor ($L_t$)",