From 4f1f2435686b538ff6af2bee57734eb58370f24c Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Tue, 5 Jan 1999 17:44:43 +0000 Subject: [PATCH] add note on currency trading git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1567 57a11ea4-9604-0410-9ed3-97b8803252fd --- Docs/xacc-currency.html | 32 ++++++++++++++++++++++++++++++++ Docs/xacc-main.html | 1 + 2 files changed, 33 insertions(+) create mode 100644 Docs/xacc-currency.html diff --git a/Docs/xacc-currency.html b/Docs/xacc-currency.html new file mode 100644 index 0000000000..a1b98dd40b --- /dev/null +++ b/Docs/xacc-currency.html @@ -0,0 +1,32 @@ + +
+
+
+A double entry system stores both values (and makes teh transaciton balance):
+
+double entry states that value1+value2+value3+ ... = 0
+where each value is recorded in a different account.
+A value is value=exch-rate*amount (for currency accounts)
+           value=price*num-shares (for stocks/mutual-funds)
+
+Thus, buying a widget in japan and using dollars to pay for it would appears
+like so:
+
+SpendAcct: (an oridnary bank/cash acct valued in USD)
+----------
+Date      xfer from       memo                cost
+1/5/99    [YenAcct]       Buy widget          $1.00
+
+
+YenAcct: (a currency trading account valued in yen)
+--------
+Date      xfer from       memo                purchase   rate
+1/5/99    [SpendAcct]     Buy widget          Y150       0.00667
+
+
+The engine links together all three of these values (1.0, 150, 0.00667)
+permanently and makes it imposssible to change one without changing another,
+so that the grand total is always zero.
+
+
+
diff --git a/Docs/xacc-main.html b/Docs/xacc-main.html index 3193bb5d2b..89e6d95cf3 100644 --- a/Docs/xacc-main.html +++ b/Docs/xacc-main.html @@ -14,6 +14,7 @@
  • Chart of Accounts
  • Creating a new account
  • Date Input +
  • Foregin Currencies
  • Importing MYM (Managing Your Money) Files
  • Quicken(TM) User's Guide
  • License