1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <!DOCTYPE chapter SYSTEM "gnc-docbookx .dtd">
2
+ <!DOCTYPE chapter SYSTEM "gnc-gui-C .dtd">
3
3
<!-- (Do not remove this comment block.)
4
4
Version: 1.0.0
5
5
Last modified: August 08th 2021
@@ -14,14 +14,115 @@ Translators:
14
14
-->
15
15
<chapter id =" finance-quote"
16
16
xmlns : xi =" http://www.w3.org/2001/XInclude" >
17
- <title >Setting up the Online Quote update</title >
17
+ <title >Setting up the Quote update</title >
18
18
19
19
<para >If you have more than a couple of commodities, you will tire of having to update their quotes
20
20
constantly. &app; has the ability to automatically download the most recent quote for your
21
21
commodities using the Internet. This is accomplished through the &app-perl; module &app-fq; ,
22
22
which must be installed in order to activate this feature.
23
23
</para >
24
24
25
+ <itemizedlist >
26
+ <title >Prerequisites for an Online Quote update with &app-fq; are</title >
27
+
28
+ <listitem >
29
+ <para >the &app-perl; language interpreter and
30
+ </para >
31
+ </listitem >
32
+
33
+ <listitem >
34
+ <para >the &app-perl; -module &app-fq; with any dependencies.
35
+ </para >
36
+ </listitem >
37
+ </itemizedlist >
38
+
39
+ <note >
40
+ <para >If you get stuck while performing the steps described here, you can reach many helpful users on the
41
+ channels mentioned under <xref linkend =" more_help" />.
42
+ </para >
43
+ </note >
44
+
45
+ <para >You can also leave out this step and manually update your stock quotes.
46
+ </para >
47
+
48
+ <sect1 id =" finance-quote-perl-install" >
49
+ <title >Installing &app-perl; </title >
50
+
51
+ <para >The installation of &app-perl; is essentially dependent on the operating system used. The effort for
52
+ installation is low and is described in this section.
53
+ </para >
54
+
55
+ <para >To check if &app-perl; is already installed on your system, call the command
56
+ <informalexample >
57
+ <screen >perl -v</screen >
58
+ </informalexample >
59
+ in the terminal. If you are shown the version number of the &app-perl; interpreter, then
60
+ continue with <xref linkend =" finance-quote-install" />.
61
+ </para >
62
+
63
+ <procedure >
64
+ <title >On &lin; </title >
65
+
66
+ <step >
67
+ <para >On most systems &app-perl; is probably already installed. If with the previous command does not show
68
+ a version, then the easiest way is to use your system’ s package manager for installation.
69
+ </para >
70
+ </step >
71
+
72
+ <step >
73
+ <para >When using the &app; &flatpak; package, &app-perl; and &app-fq; are already functionally installed.
74
+ </para >
75
+ </step >
76
+ </procedure >
77
+
78
+ <procedure >
79
+ <title >On &mac; </title >
80
+
81
+ <step >
82
+ <para >&app-perl; is normally already set up under &mac; .
83
+ </para >
84
+ </step >
85
+ </procedure >
86
+
87
+ <procedure >
88
+ <title >On &win; </title >
89
+
90
+ <step >
91
+ <para >Under &win; run the program
92
+ <menuchoice >
93
+ <guimenu >Start</guimenu > <guisubmenu >&appname; </guisubmenu > <guimenuitem >Install Online
94
+ Price Retrieval</guimenuitem >
95
+ </menuchoice >
96
+ to run. This will install <ulink url =" &url-wp-en; Strawberry_Perl" >Strawberry Perl</ulink >.
97
+ <footnote >
98
+ <para >&app; Version 2.2.6 and befor require <ulink url =" &url-wp-en; ActivePerl" >ActivePerl</ulink >. in
99
+ version 5.8.
100
+ </para >
101
+ </footnote >
102
+
103
+ <footnote >
104
+ <para >&app; Version 2.4 and befor require <ulink url =" &url-wp-en; ActivePerl" >ActivePerl</ulink > Version
105
+ 5.16.3 and later.
106
+ </para >
107
+ </footnote >
108
+ </para >
109
+ </step >
110
+
111
+ <step >
112
+ <para >For execution you need <emphasis >Administrator privilegies</emphasis >, which are requested in the
113
+ dialog. The installation can take more then 15 minutes.
114
+ </para >
115
+ </step >
116
+
117
+ <step >
118
+ <para >If during the installation the error message <computeroutput >No such file or directory
119
+ </computeroutput > or <computeroutput >permission denied</computeroutput > are displayed,
120
+ then it may help to disable the antivirus software temporarily.
121
+ </para >
122
+ </step >
123
+ </procedure >
124
+ </sect1 >
125
+
25
126
<sect1 id =" finance-quote-install" >
26
127
<title >Installing &app-fq; </title >
27
128
@@ -39,45 +140,12 @@ SYNOPSIS
39
140
If no documentation is displayed, you will have to continue with this chapter.
40
141
</para >
41
142
42
- <itemizedlist >
43
- <title >Prerequisites for an Online Quote update with &app-fq; </title >
44
-
45
- <listitem >
46
- <para >the &app-perl; language interpreter,
47
- </para >
48
- </listitem >
49
-
50
- <listitem >
51
- <para >the &app-perl; -module &app-fq; and
52
- </para >
53
- </listitem >
54
-
55
- <listitem >
56
- <para >any dependencies required by the &app-fq; module.
57
- </para >
58
- </listitem >
59
- </itemizedlist >
60
-
61
- <note >
62
- <para >If you feel uncomfortable about performing any of these steps, please either email the &app; -user
63
- mailing list (<email >gnucash-user@gnucash.org</email >) for help or come to the
64
- <ulink url =" &url-irc; " >#&appname; IRC channel</ulink >.
65
- You can also find more information in the &app; wiki at
66
- <ulink url =" &url-wiki-OQ; " >Online Quotes</ulink >. You can also leave out this step and
67
- manually update your stock quotes.
68
- </para >
69
- </note >
70
-
71
- <para >The installation of &app-perl; is not the focus of this manual. A detailed description can be found
72
- in the &app; Wiki at <ulink url =" &url-wiki-OQ; #Perl" >Perl</ulink >.
73
- </para >
74
-
75
143
<para >The process of installing &app-fq; depends on the system. For the different supported systems, you
76
144
can follow the instructions below:
77
145
</para >
78
146
79
147
<procedure >
80
- <title >Installing &app-fq; on &lin; </title >
148
+ <title >On &lin; </title >
81
149
82
150
<step >
83
151
<simpara >Close &app; .
@@ -135,7 +203,7 @@ SYNOPSIS
135
203
</procedure >
136
204
137
205
<procedure >
138
- <title >Installing &app-fq; on &mac; </title >
206
+ <title >On &mac; </title >
139
207
140
208
<step >
141
209
<simpara >Close &app; .
@@ -162,7 +230,7 @@ SYNOPSIS
162
230
</procedure >
163
231
164
232
<procedure >
165
- <title >Installing &app-fq; on &win; </title >
233
+ <title >On &win; </title >
166
234
167
235
<step >
168
236
<simpara >Close &app; .
@@ -172,7 +240,7 @@ SYNOPSIS
172
240
<step >
173
241
<simpara >Run
174
242
<menuchoice >
175
- <guimenu >Start</guimenu > <guisubmenu >&app ; </guisubmenu > <guimenuitem >Install Online
243
+ <guimenu >Start</guimenu > <guisubmenu >&appname ; </guisubmenu > <guimenuitem >Install Online
176
244
Price Retrieval</guimenuitem >
177
245
</menuchoice >
178
246
. This is a small utility that installs &app-fq; for you.
@@ -182,7 +250,7 @@ SYNOPSIS
182
250
</sect1 >
183
251
184
252
<sect1 id =" finance-quote-scheduler" >
185
- <title >Configuring for Getting Online Quotes Periodically</title >
253
+ <title >Configuring for Getting Quotes Periodically</title >
186
254
187
255
<para >The command <command >gnucash-cli --quotes get &user-datafile; </command >
188
256
<footnote >
@@ -194,8 +262,8 @@ SYNOPSIS
194
262
</simpara >
195
263
</footnote >
196
264
can be used to fetch the current quotes of your stocks and write them directly into your
197
- &app; -data file without starting the GUI. Thus an automatic, regular updating of the
198
- price database is possible.
265
+ &app; -data file without starting the GUI. Thus an automatic, regular updating of the price
266
+ database is possible.
199
267
<warning >
200
268
<para >Please note that the data file should not be open in another instance of &app; at the same time!
201
269
</para >
@@ -282,7 +350,7 @@ gnucash-cli --quotes get &user-datafile; > /dev/null 2>&1</screen>
282
350
<para >Adjust the time to the close of the stock exchange and consider <emphasis >fund quotes</emphasis >,
283
351
that the net asset value (NAV) is determined well after the markets closed. The types have
284
352
their description in <xref linkend =" tool-price" />.
285
- <!-- FIXME: aadjust the link to a proper ID -->
353
+ <!-- FIXME: adjust the link to a proper ID -->
286
354
</para >
287
355
</example >
288
356
0 commit comments