Преглед изворни кода

spring functionality added

Vincent Sima пре 6 година
родитељ
комит
d25e85ac5a
100 измењених фајлова са 640 додато и 101 уклоњено
  1. BIN
      .DS_Store
  2. BIN
      1.1.1/.DS_Store
  3. 25
    0
      1.1.1/.gitignore
  4. BIN
      1.1.1/.mvn/wrapper/maven-wrapper.jar
  5. 1
    0
      1.1.1/.mvn/wrapper/maven-wrapper.properties
  6. 225
    0
      1.1.1/mvnw
  7. 143
    0
      1.1.1/mvnw.cmd
  8. 84
    0
      1.1.1/pom.xml
  9. BIN
      1.1.1/src/.DS_Store
  10. BIN
      1.1.1/src/main/.DS_Store
  11. BIN
      1.1.1/src/main/java/.DS_Store
  12. 1
    1
      1.1.1/src/main/java/AlphaVantage/AlphaVantageConnector.java
  13. 1
    1
      1.1.1/src/main/java/AlphaVantage/ApiConnector.java
  14. 2
    2
      1.1.1/src/main/java/AlphaVantage/BatchStockQuotes.java
  15. 3
    3
      1.1.1/src/main/java/AlphaVantage/DigitalCurrencies.java
  16. 3
    2
      1.1.1/src/main/java/AlphaVantage/ForeignExchange.java
  17. 2
    2
      1.1.1/src/main/java/AlphaVantage/SectorPerformances.java
  18. 119
    58
      1.1.1/src/main/java/AlphaVantage/TechnicalIndicators.java
  19. 23
    24
      1.1.1/src/main/java/AlphaVantage/TimeSeries.java
  20. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/ApiParameter.java
  21. 3
    2
      1.1.1/src/main/java/AlphaVantage/input/ApiParameterBuilder.java
  22. 2
    2
      1.1.1/src/main/java/AlphaVantage/input/Function.java
  23. 2
    2
      1.1.1/src/main/java/AlphaVantage/input/Symbol.java
  24. 1
    1
      1.1.1/src/main/java/AlphaVantage/input/Symbols.java
  25. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/digitalcurrencies/Market.java
  26. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/exchange/FromCurrency.java
  27. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/exchange/ToCurrency.java
  28. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/Acceleration.java
  29. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/FastDMaType.java
  30. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/FastDPeriod.java
  31. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/FastKPeriod.java
  32. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/FastLimit.java
  33. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/FastMaType.java
  34. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/FastPeriod.java
  35. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/Interval.java
  36. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/MaType.java
  37. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/Maximum.java
  38. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/NBDevDn.java
  39. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/NBDevUp.java
  40. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SeriesType.java
  41. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SignalMaType.java
  42. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SignalPeriod.java
  43. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowDMaType.java
  44. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowDPeriod.java
  45. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowKMaType.java
  46. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowKPeriod.java
  47. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowLimit.java
  48. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowMaType.java
  49. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowPeriod.java
  50. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/TimePeriod.java
  51. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/TimePeriod1.java
  52. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/TimePeriod2.java
  53. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/technicalindicators/TimePeriod3.java
  54. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/timeseries/Interval.java
  55. 0
    0
      1.1.1/src/main/java/AlphaVantage/input/timeseries/OutputSize.java
  56. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/AlphaVantageException.java
  57. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/JsonParser.java
  58. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/Daily.java
  59. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/DigitalCurrencyParser.java
  60. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/DigitalCurrencyResponse.java
  61. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/IntraDay.java
  62. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/Monthly.java
  63. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/Weekly.java
  64. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/data/DigitalCurrencyData.java
  65. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/data/SimpelDigitalCurrencyData.java
  66. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/exchange/CurrencyExchange.java
  67. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/exchange/data/CurrencyExchangeData.java
  68. 0
    1
      1.1.1/src/main/java/AlphaVantage/output/quote/BatchStockQuotesResponse.java
  69. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/quote/data/StockQuote.java
  70. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/sectorperformances/Sectors.java
  71. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/sectorperformances/data/SectorData.java
  72. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/AD.java
  73. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/ADOSC.java
  74. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/ADX.java
  75. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/ADXR.java
  76. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/APO.java
  77. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/AROON.java
  78. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/AROONOSC.java
  79. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/ATR.java
  80. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/BBANDS.java
  81. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/BOP.java
  82. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/CCI.java
  83. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/CMO.java
  84. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/DEMA.java
  85. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/DX.java
  86. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/EMA.java
  87. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/HT_DCPERIOD.java
  88. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/HT_DCPHASE.java
  89. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/HT_PHASOR.java
  90. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/HT_SINE.java
  91. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/HT_TRENDLINE.java
  92. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/HT_TRENDMODE.java
  93. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/KAMA.java
  94. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MACD.java
  95. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MACDEXT.java
  96. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MAMA.java
  97. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MFI.java
  98. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MIDPOINT.java
  99. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MIDPRICE.java
  100. 0
    0
      1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MINUS_DI.java

BIN
trader10/.DS_Store → 1.1.1/.DS_Store Прегледај датотеку


+ 25
- 0
1.1.1/.gitignore Прегледај датотеку

@@ -0,0 +1,25 @@
1
+/target/
2
+!.mvn/wrapper/maven-wrapper.jar
3
+
4
+### STS ###
5
+.apt_generated
6
+.classpath
7
+.factorypath
8
+.project
9
+.settings
10
+.springBeans
11
+.sts4-cache
12
+
13
+### IntelliJ IDEA ###
14
+.idea
15
+*.iws
16
+*.iml
17
+*.ipr
18
+
19
+### NetBeans ###
20
+/nbproject/private/
21
+/build/
22
+/nbbuild/
23
+/dist/
24
+/nbdist/
25
+/.nb-gradle/

BIN
1.1.1/.mvn/wrapper/maven-wrapper.jar Прегледај датотеку


+ 1
- 0
1.1.1/.mvn/wrapper/maven-wrapper.properties Прегледај датотеку

@@ -0,0 +1 @@
1
+distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip

+ 225
- 0
1.1.1/mvnw Прегледај датотеку

@@ -0,0 +1,225 @@
1
+#!/bin/sh
2
+# ----------------------------------------------------------------------------
3
+# Licensed to the Apache Software Foundation (ASF) under one
4
+# or more contributor license agreements.  See the NOTICE file
5
+# distributed with this work for additional information
6
+# regarding copyright ownership.  The ASF licenses this file
7
+# to you under the Apache License, Version 2.0 (the
8
+# "License"); you may not use this file except in compliance
9
+# with the License.  You may obtain a copy of the License at
10
+#
11
+#    http://www.apache.org/licenses/LICENSE-2.0
12
+#
13
+# Unless required by applicable law or agreed to in writing,
14
+# software distributed under the License is distributed on an
15
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+# KIND, either express or implied.  See the License for the
17
+# specific language governing permissions and limitations
18
+# under the License.
19
+# ----------------------------------------------------------------------------
20
+
21
+# ----------------------------------------------------------------------------
22
+# Maven2 Start Up Batch script
23
+#
24
+# Required ENV vars:
25
+# ------------------
26
+#   JAVA_HOME - location of a JDK home dir
27
+#
28
+# Optional ENV vars
29
+# -----------------
30
+#   M2_HOME - location of maven2's installed home dir
31
+#   MAVEN_OPTS - parameters passed to the Java VM when running Maven
32
+#     e.g. to debug Maven itself, use
33
+#       set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
34
+#   MAVEN_SKIP_RC - flag to disable loading of mavenrc files
35
+# ----------------------------------------------------------------------------
36
+
37
+if [ -z "$MAVEN_SKIP_RC" ] ; then
38
+
39
+  if [ -f /etc/mavenrc ] ; then
40
+    . /etc/mavenrc
41
+  fi
42
+
43
+  if [ -f "$HOME/.mavenrc" ] ; then
44
+    . "$HOME/.mavenrc"
45
+  fi
46
+
47
+fi
48
+
49
+# OS specific support.  $var _must_ be set to either true or false.
50
+cygwin=false;
51
+darwin=false;
52
+mingw=false
53
+case "`uname`" in
54
+  CYGWIN*) cygwin=true ;;
55
+  MINGW*) mingw=true;;
56
+  Darwin*) darwin=true
57
+    # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
58
+    # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
59
+    if [ -z "$JAVA_HOME" ]; then
60
+      if [ -x "/usr/libexec/java_home" ]; then
61
+        export JAVA_HOME="`/usr/libexec/java_home`"
62
+      else
63
+        export JAVA_HOME="/Library/Java/Home"
64
+      fi
65
+    fi
66
+    ;;
67
+esac
68
+
69
+if [ -z "$JAVA_HOME" ] ; then
70
+  if [ -r /etc/gentoo-release ] ; then
71
+    JAVA_HOME=`java-config --jre-home`
72
+  fi
73
+fi
74
+
75
+if [ -z "$M2_HOME" ] ; then
76
+  ## resolve links - $0 may be a link to maven's home
77
+  PRG="$0"
78
+
79
+  # need this for relative symlinks
80
+  while [ -h "$PRG" ] ; do
81
+    ls=`ls -ld "$PRG"`
82
+    link=`expr "$ls" : '.*-> \(.*\)$'`
83
+    if expr "$link" : '/.*' > /dev/null; then
84
+      PRG="$link"
85
+    else
86
+      PRG="`dirname "$PRG"`/$link"
87
+    fi
88
+  done
89
+
90
+  saveddir=`pwd`
91
+
92
+  M2_HOME=`dirname "$PRG"`/..
93
+
94
+  # make it fully qualified
95
+  M2_HOME=`cd "$M2_HOME" && pwd`
96
+
97
+  cd "$saveddir"
98
+  # echo Using m2 at $M2_HOME
99
+fi
100
+
101
+# For Cygwin, ensure paths are in UNIX format before anything is touched
102
+if $cygwin ; then
103
+  [ -n "$M2_HOME" ] &&
104
+    M2_HOME=`cygpath --unix "$M2_HOME"`
105
+  [ -n "$JAVA_HOME" ] &&
106
+    JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
107
+  [ -n "$CLASSPATH" ] &&
108
+    CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
109
+fi
110
+
111
+# For Migwn, ensure paths are in UNIX format before anything is touched
112
+if $mingw ; then
113
+  [ -n "$M2_HOME" ] &&
114
+    M2_HOME="`(cd "$M2_HOME"; pwd)`"
115
+  [ -n "$JAVA_HOME" ] &&
116
+    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
117
+  # TODO classpath?
118
+fi
119
+
120
+if [ -z "$JAVA_HOME" ]; then
121
+  javaExecutable="`which javac`"
122
+  if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
123
+    # readlink(1) is not available as standard on Solaris 10.
124
+    readLink=`which readlink`
125
+    if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
126
+      if $darwin ; then
127
+        javaHome="`dirname \"$javaExecutable\"`"
128
+        javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
129
+      else
130
+        javaExecutable="`readlink -f \"$javaExecutable\"`"
131
+      fi
132
+      javaHome="`dirname \"$javaExecutable\"`"
133
+      javaHome=`expr "$javaHome" : '\(.*\)/bin'`
134
+      JAVA_HOME="$javaHome"
135
+      export JAVA_HOME
136
+    fi
137
+  fi
138
+fi
139
+
140
+if [ -z "$JAVACMD" ] ; then
141
+  if [ -n "$JAVA_HOME"  ] ; then
142
+    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
143
+      # IBM's JDK on AIX uses strange locations for the executables
144
+      JAVACMD="$JAVA_HOME/jre/sh/java"
145
+    else
146
+      JAVACMD="$JAVA_HOME/bin/java"
147
+    fi
148
+  else
149
+    JAVACMD="`which java`"
150
+  fi
151
+fi
152
+
153
+if [ ! -x "$JAVACMD" ] ; then
154
+  echo "Error: JAVA_HOME is not defined correctly." >&2
155
+  echo "  We cannot execute $JAVACMD" >&2
156
+  exit 1
157
+fi
158
+
159
+if [ -z "$JAVA_HOME" ] ; then
160
+  echo "Warning: JAVA_HOME environment variable is not set."
161
+fi
162
+
163
+CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
164
+
165
+# traverses directory structure from process work directory to filesystem root
166
+# first directory with .mvn subdirectory is considered project base directory
167
+find_maven_basedir() {
168
+
169
+  if [ -z "$1" ]
170
+  then
171
+    echo "Path not specified to find_maven_basedir"
172
+    return 1
173
+  fi
174
+
175
+  basedir="$1"
176
+  wdir="$1"
177
+  while [ "$wdir" != '/' ] ; do
178
+    if [ -d "$wdir"/.mvn ] ; then
179
+      basedir=$wdir
180
+      break
181
+    fi
182
+    # workaround for JBEAP-8937 (on Solaris 10/Sparc)
183
+    if [ -d "${wdir}" ]; then
184
+      wdir=`cd "$wdir/.."; pwd`
185
+    fi
186
+    # end of workaround
187
+  done
188
+  echo "${basedir}"
189
+}
190
+
191
+# concatenates all lines of a file
192
+concat_lines() {
193
+  if [ -f "$1" ]; then
194
+    echo "$(tr -s '\n' ' ' < "$1")"
195
+  fi
196
+}
197
+
198
+BASE_DIR=`find_maven_basedir "$(pwd)"`
199
+if [ -z "$BASE_DIR" ]; then
200
+  exit 1;
201
+fi
202
+
203
+export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
204
+echo $MAVEN_PROJECTBASEDIR
205
+MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
206
+
207
+# For Cygwin, switch paths to Windows format before running java
208
+if $cygwin; then
209
+  [ -n "$M2_HOME" ] &&
210
+    M2_HOME=`cygpath --path --windows "$M2_HOME"`
211
+  [ -n "$JAVA_HOME" ] &&
212
+    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
213
+  [ -n "$CLASSPATH" ] &&
214
+    CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
215
+  [ -n "$MAVEN_PROJECTBASEDIR" ] &&
216
+    MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
217
+fi
218
+
219
+WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
220
+
221
+exec "$JAVACMD" \
222
+  $MAVEN_OPTS \
223
+  -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
224
+  "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
225
+  ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"

+ 143
- 0
1.1.1/mvnw.cmd Прегледај датотеку

@@ -0,0 +1,143 @@
1
+@REM ----------------------------------------------------------------------------
2
+@REM Licensed to the Apache Software Foundation (ASF) under one
3
+@REM or more contributor license agreements.  See the NOTICE file
4
+@REM distributed with this work for additional information
5
+@REM regarding copyright ownership.  The ASF licenses this file
6
+@REM to you under the Apache License, Version 2.0 (the
7
+@REM "License"); you may not use this file except in compliance
8
+@REM with the License.  You may obtain a copy of the License at
9
+@REM
10
+@REM    http://www.apache.org/licenses/LICENSE-2.0
11
+@REM
12
+@REM Unless required by applicable law or agreed to in writing,
13
+@REM software distributed under the License is distributed on an
14
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+@REM KIND, either express or implied.  See the License for the
16
+@REM specific language governing permissions and limitations
17
+@REM under the License.
18
+@REM ----------------------------------------------------------------------------
19
+
20
+@REM ----------------------------------------------------------------------------
21
+@REM Maven2 Start Up Batch script
22
+@REM
23
+@REM Required ENV vars:
24
+@REM JAVA_HOME - location of a JDK home dir
25
+@REM
26
+@REM Optional ENV vars
27
+@REM M2_HOME - location of maven2's installed home dir
28
+@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
29
+@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
30
+@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
31
+@REM     e.g. to debug Maven itself, use
32
+@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
33
+@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
34
+@REM ----------------------------------------------------------------------------
35
+
36
+@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
37
+@echo off
38
+@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
39
+@if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%
40
+
41
+@REM set %HOME% to equivalent of $HOME
42
+if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
43
+
44
+@REM Execute a user defined script before this one
45
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
46
+@REM check for pre script, once with legacy .bat ending and once with .cmd ending
47
+if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
48
+if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
49
+:skipRcPre
50
+
51
+@setlocal
52
+
53
+set ERROR_CODE=0
54
+
55
+@REM To isolate internal variables from possible post scripts, we use another setlocal
56
+@setlocal
57
+
58
+@REM ==== START VALIDATION ====
59
+if not "%JAVA_HOME%" == "" goto OkJHome
60
+
61
+echo.
62
+echo Error: JAVA_HOME not found in your environment. >&2
63
+echo Please set the JAVA_HOME variable in your environment to match the >&2
64
+echo location of your Java installation. >&2
65
+echo.
66
+goto error
67
+
68
+:OkJHome
69
+if exist "%JAVA_HOME%\bin\java.exe" goto init
70
+
71
+echo.
72
+echo Error: JAVA_HOME is set to an invalid directory. >&2
73
+echo JAVA_HOME = "%JAVA_HOME%" >&2
74
+echo Please set the JAVA_HOME variable in your environment to match the >&2
75
+echo location of your Java installation. >&2
76
+echo.
77
+goto error
78
+
79
+@REM ==== END VALIDATION ====
80
+
81
+:init
82
+
83
+@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
84
+@REM Fallback to current working directory if not found.
85
+
86
+set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
87
+IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
88
+
89
+set EXEC_DIR=%CD%
90
+set WDIR=%EXEC_DIR%
91
+:findBaseDir
92
+IF EXIST "%WDIR%"\.mvn goto baseDirFound
93
+cd ..
94
+IF "%WDIR%"=="%CD%" goto baseDirNotFound
95
+set WDIR=%CD%
96
+goto findBaseDir
97
+
98
+:baseDirFound
99
+set MAVEN_PROJECTBASEDIR=%WDIR%
100
+cd "%EXEC_DIR%"
101
+goto endDetectBaseDir
102
+
103
+:baseDirNotFound
104
+set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
105
+cd "%EXEC_DIR%"
106
+
107
+:endDetectBaseDir
108
+
109
+IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
110
+
111
+@setlocal EnableExtensions EnableDelayedExpansion
112
+for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
113
+@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
114
+
115
+:endReadAdditionalConfig
116
+
117
+SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
118
+
119
+set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
120
+set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
121
+
122
+%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
123
+if ERRORLEVEL 1 goto error
124
+goto end
125
+
126
+:error
127
+set ERROR_CODE=1
128
+
129
+:end
130
+@endlocal & set ERROR_CODE=%ERROR_CODE%
131
+
132
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
133
+@REM check for post script, once with legacy .bat ending and once with .cmd ending
134
+if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
135
+if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
136
+:skipRcPost
137
+
138
+@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
139
+if "%MAVEN_BATCH_PAUSE%" == "on" pause
140
+
141
+if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
142
+
143
+exit /B %ERROR_CODE%

+ 84
- 0
1.1.1/pom.xml Прегледај датотеку

@@ -0,0 +1,84 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
+	<modelVersion>4.0.0</modelVersion>
5
+
6
+	<groupId>com.tradingproject</groupId>
7
+	<artifactId>0.0.1</artifactId>
8
+	<version>0.0.1-SNAPSHOT</version>
9
+	<packaging>jar</packaging>
10
+
11
+	<name>0.0.1</name>
12
+	<description>Demo project for Spring Boot</description>
13
+
14
+	<parent>
15
+		<groupId>org.springframework.boot</groupId>
16
+		<artifactId>spring-boot-starter-parent</artifactId>
17
+		<version>2.0.3.RELEASE</version>
18
+		<relativePath/> <!-- lookup parent from repository -->
19
+	</parent>
20
+
21
+	<properties>
22
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23
+		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24
+		<java.version>1.8</java.version>
25
+	</properties>
26
+
27
+	<dependencies>
28
+		<dependency>
29
+			<groupId>com.google.code.gson</groupId>
30
+			<artifactId>gson</artifactId>
31
+			<version>2.8.5</version>
32
+		</dependency>
33
+		<dependency>
34
+			<groupId>org.springframework.boot</groupId>
35
+			<artifactId>spring-boot-starter-data-jpa</artifactId>
36
+		</dependency>
37
+		<dependency>
38
+			<groupId>org.springframework.boot</groupId>
39
+			<artifactId>spring-boot-starter-security</artifactId>
40
+		</dependency>
41
+		<dependency>
42
+			<groupId>org.springframework.boot</groupId>
43
+			<artifactId>spring-boot-starter-web</artifactId>
44
+		</dependency>
45
+
46
+		<dependency>
47
+			<groupId>org.springframework.boot</groupId>
48
+			<artifactId>spring-boot-devtools</artifactId>
49
+			<scope>runtime</scope>
50
+		</dependency>
51
+		<dependency>
52
+			<groupId>mysql</groupId>
53
+			<artifactId>mysql-connector-java</artifactId>
54
+			<scope>runtime</scope>
55
+		</dependency>
56
+		<dependency>
57
+			<groupId>org.springframework.boot</groupId>
58
+			<artifactId>spring-boot-starter-test</artifactId>
59
+			<scope>test</scope>
60
+		</dependency>
61
+		<dependency>
62
+			<groupId>org.springframework.security</groupId>
63
+			<artifactId>spring-security-test</artifactId>
64
+			<scope>test</scope>
65
+		</dependency>
66
+		<dependency>
67
+			<groupId>org.jetbrains</groupId>
68
+			<artifactId>annotations</artifactId>
69
+			<version>16.0.2</version>
70
+			<scope>compile</scope>
71
+		</dependency>
72
+	</dependencies>
73
+
74
+	<build>
75
+		<plugins>
76
+			<plugin>
77
+				<groupId>org.springframework.boot</groupId>
78
+				<artifactId>spring-boot-maven-plugin</artifactId>
79
+			</plugin>
80
+		</plugins>
81
+	</build>
82
+
83
+
84
+</project>

BIN
trader10/src/.DS_Store → 1.1.1/src/.DS_Store Прегледај датотеку


BIN
trader10/src/main/.DS_Store → 1.1.1/src/main/.DS_Store Прегледај датотеку


BIN
1.1.1/src/main/java/.DS_Store Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/AlphaVantageConnector.java → 1.1.1/src/main/java/AlphaVantage/AlphaVantageConnector.java Прегледај датотеку

@@ -1,4 +1,4 @@
1
-package org.AlphaVantage;
1
+package AlphaVantage;
2 2
 
3 3
 import org.AlphaVantage.input.ApiParameter;
4 4
 import org.AlphaVantage.input.ApiParameterBuilder;

trader10/src/main/java/org/AlphaVantage/ApiConnector.java → 1.1.1/src/main/java/AlphaVantage/ApiConnector.java Прегледај датотеку

@@ -1,4 +1,4 @@
1
-package org.AlphaVantage;
1
+package AlphaVantage;
2 2
 
3 3
 import org.AlphaVantage.input.ApiParameter;
4 4
 

trader10/src/main/java/org/AlphaVantage/BatchStockQuotes.java → 1.1.1/src/main/java/AlphaVantage/BatchStockQuotes.java Прегледај датотеку

@@ -1,6 +1,6 @@
1
-package org.AlphaVantage;
1
+package AlphaVantage;
2 2
 
3
-import org.AlphaVantage.input.Function;
3
+import AlphaVantage.input.Function;
4 4
 import org.AlphaVantage.input.Symbols;
5 5
 import org.AlphaVantage.output.AlphaVantageException;
6 6
 import org.AlphaVantage.output.quote.BatchStockQuotesResponse;

trader10/src/main/java/org/AlphaVantage/DigitalCurrencies.java → 1.1.1/src/main/java/AlphaVantage/DigitalCurrencies.java Прегледај датотеку

@@ -1,7 +1,7 @@
1
-package org.AlphaVantage;
1
+package AlphaVantage;
2 2
 
3
-import org.AlphaVantage.input.Function;
4
-import org.AlphaVantage.input.Symbol;
3
+import AlphaVantage.input.Function;
4
+import AlphaVantage.input.Symbol;
5 5
 import org.AlphaVantage.input.digitalcurrencies.Market;
6 6
 import org.AlphaVantage.output.digitalcurrencies.Daily;
7 7
 import org.AlphaVantage.output.digitalcurrencies.IntraDay;

trader10/src/main/java/org/AlphaVantage/ForeignExchange.java → 1.1.1/src/main/java/AlphaVantage/ForeignExchange.java Прегледај датотеку

@@ -1,6 +1,7 @@
1
-package org.AlphaVantage;
1
+package AlphaVantage;
2 2
 
3
-import org.AlphaVantage.input.Function;
3
+import AlphaVantage.ApiConnector;
4
+import AlphaVantage.input.Function;
4 5
 import org.AlphaVantage.input.exchange.FromCurrency;
5 6
 import org.AlphaVantage.input.exchange.ToCurrency;
6 7
 import org.AlphaVantage.output.AlphaVantageException;

trader10/src/main/java/org/AlphaVantage/SectorPerformances.java → 1.1.1/src/main/java/AlphaVantage/SectorPerformances.java Прегледај датотеку

@@ -1,6 +1,6 @@
1
-package org.AlphaVantage;
1
+package AlphaVantage;
2 2
 
3
-import org.AlphaVantage.input.Function;
3
+import AlphaVantage.input.Function;
4 4
 import org.AlphaVantage.output.sectorperformances.Sectors;
5 5
 
6 6
 /**

trader10/src/main/java/org/AlphaVantage/TechnicalIndicators.java → 1.1.1/src/main/java/AlphaVantage/TechnicalIndicators.java Прегледај датотеку

@@ -1,13 +1,74 @@
1
-package org.AlphaVantage;
1
+package AlphaVantage;
2
+
3
+import AlphaVantage.input.Function;
4
+import AlphaVantage.input.Symbol;
5
+import org.AlphaVantage.input.technicalindicators.Interval;
6
+import org.AlphaVantage.output.technicalindicators.ADX;
7
+import org.AlphaVantage.output.technicalindicators.AD;
8
+import org.AlphaVantage.output.technicalindicators.ADXR;
9
+import org.AlphaVantage.output.technicalindicators.APO;
10
+import org.AlphaVantage.output.technicalindicators.AROON;
11
+import org.AlphaVantage.output.technicalindicators.AROONOSC;
12
+import org.AlphaVantage.output.technicalindicators.ATR;
13
+import org.AlphaVantage.output.technicalindicators.BBANDS;
14
+import org.AlphaVantage.output.technicalindicators.BOP;
15
+import org.AlphaVantage.output.technicalindicators.CCI;
16
+import org.AlphaVantage.output.technicalindicators.CMO;
17
+import org.AlphaVantage.output.technicalindicators.DEMA;
18
+import org.AlphaVantage.output.technicalindicators.DX;
19
+import org.AlphaVantage.output.technicalindicators.EMA;
20
+import org.AlphaVantage.output.technicalindicators.HT_DCPERIOD;
21
+import org.AlphaVantage.output.technicalindicators.HT_DCPHASE;
22
+import org.AlphaVantage.output.technicalindicators.HT_PHASOR;
23
+import org.AlphaVantage.output.technicalindicators.HT_SINE;
24
+import org.AlphaVantage.output.technicalindicators.HT_TRENDLINE;
25
+import org.AlphaVantage.output.technicalindicators.HT_TRENDMODE;
26
+import org.AlphaVantage.output.technicalindicators.KAMA;
27
+import org.AlphaVantage.output.technicalindicators.MACD;
28
+import org.AlphaVantage.output.technicalindicators.MACDEXT;
29
+import org.AlphaVantage.output.technicalindicators.MAMA;
30
+import org.AlphaVantage.output.technicalindicators.MFI;
31
+import org.AlphaVantage.output.technicalindicators.MIDPOINT;
32
+import org.AlphaVantage.output.technicalindicators.MIDPRICE;
33
+import org.AlphaVantage.output.technicalindicators.MINUS_DI;
34
+import org.AlphaVantage.output.technicalindicators.MINUS_DM;
35
+import org.AlphaVantage.output.technicalindicators.MOM;
36
+import org.AlphaVantage.output.technicalindicators.NATR;
37
+import org.AlphaVantage.output.technicalindicators.OBV;
38
+import org.AlphaVantage.output.technicalindicators.PLUS_DI;
39
+import org.AlphaVantage.output.technicalindicators.PLUS_DM;
40
+import org.AlphaVantage.output.technicalindicators.PPO;
41
+import org.AlphaVantage.output.technicalindicators.ROC;
42
+import org.AlphaVantage.output.technicalindicators.ROCR;
43
+import org.AlphaVantage.output.technicalindicators.RSI;
44
+import org.AlphaVantage.output.technicalindicators.SAR;
45
+import org.AlphaVantage.output.technicalindicators.SMA;
46
+import org.AlphaVantage.output.technicalindicators.STOCH;
47
+import org.AlphaVantage.output.technicalindicators.STOCHF;
48
+import org.AlphaVantage.output.technicalindicators.STOCHRSI;
49
+import org.AlphaVantage.output.technicalindicators.T3;
50
+import org.AlphaVantage.output.technicalindicators.TEMA;
51
+import org.AlphaVantage.output.technicalindicators.TRANGE;
52
+import org.AlphaVantage.output.technicalindicators.TRIMA;
53
+import org.AlphaVantage.output.technicalindicators.TRIX;
54
+import org.AlphaVantage.output.technicalindicators.ULTOSC;
55
+import org.AlphaVantage.output.technicalindicators.WILLR;
56
+import org.AlphaVantage.output.technicalindicators.WMA;
57
+import org.AlphaVantage.input.technicalindicators.TimePeriod;
58
+import org.AlphaVantage.input.technicalindicators.SeriesType;
59
+import org.AlphaVantage.input.technicalindicators.FastPeriod;
60
+import org.AlphaVantage.input.technicalindicators.SlowPeriod;
61
+import org.AlphaVantage.input.technicalindicators.SignalPeriod;
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+import org.jetbrains.annotations.Nullable;
2 70
 
3
-import org.AlphaVantage.input.Function;
4
-import org.AlphaVantage.input.Symbol;
5
-import org.AlphaVantage.input.technicalindicators.*;
6
-import org.AlphaVantage.output.technicalindicators.*;
7
-import org.AlphaVantage.input.technicalindicators.*;
8
-import org.AlphaVantage.output.technicalindicators.*;
9 71
 
10
-import javax.annotation.Nullable;
11 72
 
12 73
 // TODO add optional in docs to optional values
13 74
 
@@ -34,9 +95,9 @@ public class TechnicalIndicators {
34 95
    * @param interval   the interval between two consecutive data points in the time series {@link Interval}.
35 96
    * @return {@link AD} indicator data.
36 97
    */
37
-  public AD ad(String symbol, Interval interval) {
98
+  public org.AlphaVantage.output.technicalindicators.AD ad(String symbol, org.AlphaVantage.input.technicalindicators.Interval interval) {
38 99
     String json = apiConnector.getRequest(new Symbol(symbol), Function.AD, interval);
39
-    return AD.from(interval, json);
100
+    return org.AlphaVantage.output.technicalindicators.AD.from(interval, json);
40 101
   }
41 102
 
42 103
   /**
@@ -48,12 +109,12 @@ public class TechnicalIndicators {
48 109
    * @param slowPeriod the time period of the fast EMA, default 10 {@link SlowPeriod}.
49 110
    * @return {@link ADOSC} indicator data.
50 111
    */
51
-  public ADOSC adosc(String symbol,
52
-                     Interval interval,
53
-                     @Nullable FastPeriod fastPeriod,
54
-                     @Nullable SlowPeriod slowPeriod) {
112
+  public org.AlphaVantage.output.technicalindicators.ADOSC adosc(String symbol,
113
+                                                                 Interval interval,
114
+                                                                 @Nullable org.AlphaVantage.input.technicalindicators.FastPeriod fastPeriod,
115
+                                                                 @Nullable org.AlphaVantage.input.technicalindicators.SlowPeriod slowPeriod) {
55 116
     String json = apiConnector.getRequest(new Symbol(symbol), Function.ADOSC, interval, fastPeriod);
56
-    return ADOSC.from(interval, json);
117
+    return org.AlphaVantage.output.technicalindicators.ADOSC.from(interval, json);
57 118
   }
58 119
 
59 120
   /**
@@ -64,9 +125,9 @@ public class TechnicalIndicators {
64 125
    * @param timePeriod Number of data points used to calculate each moving average value. Positive integers are accepted {@link TimePeriod}.
65 126
    * @return {@link ADX} indicator data.
66 127
    */
67
-  public ADX adx(String symbol, Interval interval, TimePeriod timePeriod) {
128
+  public org.AlphaVantage.output.technicalindicators.ADX adx(String symbol, Interval interval, org.AlphaVantage.input.technicalindicators.TimePeriod timePeriod) {
68 129
     String json = apiConnector.getRequest(new Symbol(symbol), Function.ADX, timePeriod, interval);
69
-    return ADX.from(interval, json);
130
+    return org.AlphaVantage.output.technicalindicators.ADX.from(interval, json);
70 131
   }
71 132
 
72 133
   /**
@@ -77,7 +138,7 @@ public class TechnicalIndicators {
77 138
    * @param timePeriod Number of data points used to calculate each moving average value. Positive integers are accepted {@link TimePeriod}.
78 139
    * @return {@link ADX} indicator data.
79 140
    */
80
-  public ADXR adxr(String symbol, Interval interval, TimePeriod timePeriod) {
141
+  public org.AlphaVantage.output.technicalindicators.ADXR adxr(String symbol, Interval interval, org.AlphaVantage.input.technicalindicators.TimePeriod timePeriod) {
81 142
     String json = apiConnector.getRequest(new Symbol(symbol), Function.ADXR, timePeriod, interval);
82 143
     return ADXR.from(interval, json);
83 144
   }
@@ -95,10 +156,10 @@ public class TechnicalIndicators {
95 156
    */
96 157
   public APO apo(String symbol,
97 158
                  Interval interval,
98
-                 SeriesType seriesType,
99
-                 @Nullable FastPeriod fastPeriod,
100
-                 @Nullable SlowPeriod slowPeriod,
101
-                 @Nullable MaType maType) {
159
+                 org.AlphaVantage.input.technicalindicators.SeriesType seriesType,
160
+                 @Nullable org.AlphaVantage.input.technicalindicators.FastPeriod fastPeriod,
161
+                 @Nullable org.AlphaVantage.input.technicalindicators.SlowPeriod slowPeriod,
162
+                 @Nullable org.AlphaVantage.input.technicalindicators.MaType maType) {
102 163
     String json = apiConnector.getRequest(new Symbol(symbol), Function.APO, interval, seriesType, fastPeriod, slowPeriod, maType);
103 164
     return APO.from(interval, json);
104 165
   }
@@ -111,7 +172,7 @@ public class TechnicalIndicators {
111 172
    * @param timePeriod Number of data points used to calculate each moving average value. Positive integers are accepted {@link TimePeriod}.
112 173
    * @return {@link AROON} indicator data.
113 174
    */
114
-  public AROON aroon(String symbol, Interval interval, TimePeriod timePeriod) {
175
+  public AROON aroon(String symbol, Interval interval, org.AlphaVantage.input.technicalindicators.TimePeriod timePeriod) {
115 176
     String json = apiConnector.getRequest(new Symbol(symbol), Function.AROON, interval, timePeriod);
116 177
     return AROON.from(interval, json);
117 178
   }
@@ -124,7 +185,7 @@ public class TechnicalIndicators {
124 185
    * @param timePeriod Number of data points used to calculate each moving average value. Positive integers are accepted {@link TimePeriod}.
125 186
    * @return {@link AROONOSC} indicator data.
126 187
    */
127
-  public AROONOSC aroonosc(String symbol, Interval interval, TimePeriod timePeriod) {
188
+  public AROONOSC aroonosc(String symbol, Interval interval, org.AlphaVantage.input.technicalindicators.TimePeriod timePeriod) {
128 189
     String json = apiConnector.getRequest(new Symbol(symbol), Function.AROONOSC, interval, timePeriod);
129 190
     return AROONOSC.from(interval, json);
130 191
   }
@@ -137,7 +198,7 @@ public class TechnicalIndicators {
137 198
    * @param timePeriod Number of data points used to calculate each moving average value. Positive integers are accepted {@link TimePeriod}.
138 199
    * @return {@link ATR} indicator data.
139 200
    */
140
-  public ATR atr(String symbol, Interval interval, TimePeriod timePeriod) {
201
+  public ATR atr(String symbol, Interval interval, org.AlphaVantage.input.technicalindicators.TimePeriod timePeriod) {
141 202
     String json = apiConnector.getRequest(new Symbol(symbol), Function.ATR, interval, timePeriod);
142 203
     return ATR.from(interval, json);
143 204
   }
@@ -155,11 +216,11 @@ public class TechnicalIndicators {
155 216
    */
156 217
   public BBANDS bbands(String symbol,
157 218
                        Interval interval,
158
-                       TimePeriod timePeriod,
159
-                       SeriesType seriesType,
160
-                       @Nullable NBDevUp nbDevUp,
161
-                       @Nullable NBDevDn nbDevDn,
162
-                       @Nullable MaType maType) {
219
+                       org.AlphaVantage.input.technicalindicators.TimePeriod timePeriod,
220
+                       org.AlphaVantage.input.technicalindicators.SeriesType seriesType,
221
+                       @Nullable org.AlphaVantage.input.technicalindicators.NBDevUp nbDevUp,
222
+                       @Nullable org.AlphaVantage.input.technicalindicators.NBDevDn nbDevDn,
223
+                       @Nullable org.AlphaVantage.input.technicalindicators.MaType maType) {
163 224
     String json = apiConnector.getRequest(new Symbol(symbol),
164 225
             Function.BBANDS,
165 226
             interval,
@@ -191,7 +252,7 @@ public class TechnicalIndicators {
191 252
    * @param timePeriod Number of data points used to calculate each moving average value. Positive integers are accepted {@link TimePeriod}.
192 253
    * @return {@link CCI} indicator data.
193 254
    */
194
-  public CCI cci(String symbol, Interval interval, TimePeriod timePeriod) {
255
+  public CCI cci(String symbol, Interval interval, org.AlphaVantage.input.technicalindicators.TimePeriod timePeriod) {
195 256
     String json = apiConnector.getRequest(new Symbol(symbol), Function.CCI, interval, timePeriod);
196 257
     return CCI.from(interval, json);
197 258
   }
@@ -205,7 +266,7 @@ public class TechnicalIndicators {
205 266
    * @param seriesType The desired price type in the time series {@link SeriesType}.
206 267
    * @return {@link CMO} indicator data.
207 268
    */
208
-  public CMO cmo(String symbol, Interval interval, TimePeriod timePeriod, SeriesType seriesType) {
269
+  public CMO cmo(String symbol, Interval interval, org.AlphaVantage.input.technicalindicators.TimePeriod timePeriod, org.AlphaVantage.input.technicalindicators.SeriesType seriesType) {
209 270
     String json = apiConnector.getRequest(new Symbol(symbol), Function.CMO, timePeriod, interval, seriesType);
210 271
     return CMO.from(interval, json);
211 272
   }
@@ -219,7 +280,7 @@ public class TechnicalIndicators {
219 280
    * @param seriesType The desired price type in the time series {@link SeriesType}.
220 281
    * @return {@link DEMA} indicator data.
221 282
    */
222
-  public DEMA dema(String symbol, Interval interval, TimePeriod timePeriod, SeriesType seriesType) {
283
+  public DEMA dema(String symbol, Interval interval, org.AlphaVantage.input.technicalindicators.TimePeriod timePeriod, org.AlphaVantage.input.technicalindicators.SeriesType seriesType) {
223 284
     String json = apiConnector.getRequest(new Symbol(symbol), Function.DEMA, timePeriod, interval, seriesType);
224 285
     return DEMA.from(interval, json);
225 286
   }
@@ -232,7 +293,7 @@ public class TechnicalIndicators {
232 293
    * @param timePeriod Number of data points used to calculate each moving average value. Positive integers are accepted {@link TimePeriod}.
233 294
    * @return {@link DX} indicator data.
234 295
    */
235
-  public DX dx(String symbol, Interval interval, TimePeriod timePeriod) {
296
+  public DX dx(String symbol, Interval interval, org.AlphaVantage.input.technicalindicators.TimePeriod timePeriod) {
236 297
     String json = apiConnector.getRequest(new Symbol(symbol), Function.DX, interval, timePeriod);
237 298
     return DX.from(interval, json);
238 299
   }
@@ -246,7 +307,7 @@ public class TechnicalIndicators {
246 307
    * @param seriesType The desired price type in the time series {@link SeriesType}.
247 308
    * @return {@link EMA} indicator data.
248 309
    */
249
-  public EMA ema(String symbol, Interval interval, TimePeriod timePeriod, SeriesType seriesType) {
310
+  public EMA ema(String symbol, Interval interval, TimePeriod timePeriod, org.AlphaVantage.input.technicalindicators.SeriesType seriesType) {
250 311
     String json = apiConnector.getRequest(new Symbol(symbol), Function.EMA, timePeriod, interval, seriesType);
251 312
     return EMA.from(interval, json);
252 313
   }
@@ -359,7 +420,7 @@ public class TechnicalIndicators {
359 420
                    Interval interval,
360 421
                    TimePeriod timePeriod,
361 422
                    SeriesType seriesType,
362
-                   @Nullable FastPeriod fastPeriod,
423
+                   @Nullable org.AlphaVantage.input.technicalindicators.FastPeriod fastPeriod,
363 424
                    @Nullable SlowPeriod slowPeriod,
364 425
                    @Nullable SignalPeriod signalPeriod) {
365 426
     String json = apiConnector.getRequest(
@@ -394,9 +455,9 @@ public class TechnicalIndicators {
394 455
                       @Nullable FastPeriod fastPeriod,
395 456
                       @Nullable SlowPeriod slowPeriod,
396 457
                       @Nullable SignalPeriod signalPeriod,
397
-                      @Nullable FastMaType fastMaType,
398
-                      @Nullable SlowMaType slowMaType,
399
-                      @Nullable SignalMaType signalMaType) {
458
+                      @Nullable org.AlphaVantage.input.technicalindicators.FastMaType fastMaType,
459
+                      @Nullable org.AlphaVantage.input.technicalindicators.SlowMaType slowMaType,
460
+                      @Nullable org.AlphaVantage.input.technicalindicators.SignalMaType signalMaType) {
400 461
     String json = apiConnector.getRequest(
401 462
             new Symbol(symbol),
402 463
             Function.MACDEXT,
@@ -426,8 +487,8 @@ public class TechnicalIndicators {
426 487
                    Interval interval,
427 488
                    TimePeriod timePeriod,
428 489
                    SeriesType seriesType,
429
-                   @Nullable FastLimit fastLimit,
430
-                   @Nullable SlowLimit slowLimit) {
490
+                   @Nullable org.AlphaVantage.input.technicalindicators.FastLimit fastLimit,
491
+                   @Nullable org.AlphaVantage.input.technicalindicators.SlowLimit slowLimit) {
431 492
     String json = apiConnector.getRequest(
432 493
             new Symbol(symbol),
433 494
             Function.MAMA,
@@ -586,7 +647,7 @@ public class TechnicalIndicators {
586 647
                  SeriesType seriesType,
587 648
                  @Nullable FastPeriod fastPeriod,
588 649
                  @Nullable SlowPeriod slowPeriod,
589
-                 @Nullable MaType maType) {
650
+                 @Nullable org.AlphaVantage.input.technicalindicators.MaType maType) {
590 651
     String json = apiConnector.getRequest(new Symbol(symbol), Function.PPO, interval, seriesType, fastPeriod, slowPeriod, maType);
591 652
     return PPO.from(interval, json);
592 653
   }
@@ -644,8 +705,8 @@ public class TechnicalIndicators {
644 705
    */
645 706
   public SAR sar(String symbol,
646 707
                  Interval interval,
647
-                 @Nullable Acceleration acceleration,
648
-                 @Nullable Maximum maximum) {
708
+                 @Nullable org.AlphaVantage.input.technicalindicators.Acceleration acceleration,
709
+                 @Nullable org.AlphaVantage.input.technicalindicators.Maximum maximum) {
649 710
     String json = apiConnector.getRequest(new Symbol(symbol), Function.SAR, interval, acceleration, maximum);
650 711
     return SAR.from(interval, json);
651 712
   }
@@ -678,11 +739,11 @@ public class TechnicalIndicators {
678 739
    */
679 740
   public STOCH stoch(String symbol,
680 741
                      Interval interval,
681
-                     @Nullable FastKPeriod fastKPeriod,
682
-                     @Nullable SlowKPeriod slowKPeriod,
683
-                     @Nullable SlowDPeriod slowDPeriod,
684
-                     @Nullable SlowKMaType slowKMaType,
685
-                     @Nullable SlowDMaType slowDMaType) {
742
+                     @Nullable org.AlphaVantage.input.technicalindicators.FastKPeriod fastKPeriod,
743
+                     @Nullable org.AlphaVantage.input.technicalindicators.SlowKPeriod slowKPeriod,
744
+                     @Nullable org.AlphaVantage.input.technicalindicators.SlowDPeriod slowDPeriod,
745
+                     @Nullable org.AlphaVantage.input.technicalindicators.SlowKMaType slowKMaType,
746
+                     @Nullable org.AlphaVantage.input.technicalindicators.SlowDMaType slowDMaType) {
686 747
     String json = apiConnector.getRequest(
687 748
             new Symbol(symbol),
688 749
             Function.STOCH,
@@ -708,9 +769,9 @@ public class TechnicalIndicators {
708 769
    */
709 770
   public STOCHF stochf(String symbol,
710 771
                        Interval interval,
711
-                       @Nullable FastKPeriod fastKPeriod,
712
-                       @Nullable FastDPeriod fastDPeriod,
713
-                       @Nullable FastDMaType fastDMaType) {
772
+                       @Nullable org.AlphaVantage.input.technicalindicators.FastKPeriod fastKPeriod,
773
+                       @Nullable org.AlphaVantage.input.technicalindicators.FastDPeriod fastDPeriod,
774
+                       @Nullable org.AlphaVantage.input.technicalindicators.FastDMaType fastDMaType) {
714 775
     String json = apiConnector.getRequest(
715 776
             new Symbol(symbol),
716 777
             Function.STOCHF,
@@ -738,9 +799,9 @@ public class TechnicalIndicators {
738 799
                            Interval interval,
739 800
                            TimePeriod timePeriod,
740 801
                            SeriesType seriesType,
741
-                           @Nullable FastKPeriod fastKPeriod,
742
-                           @Nullable FastDPeriod fastDPeriod,
743
-                           @Nullable FastDMaType fastDMaType) {
802
+                           @Nullable org.AlphaVantage.input.technicalindicators.FastKPeriod fastKPeriod,
803
+                           @Nullable org.AlphaVantage.input.technicalindicators.FastDPeriod fastDPeriod,
804
+                           @Nullable org.AlphaVantage.input.technicalindicators.FastDMaType fastDMaType) {
744 805
     String json = apiConnector.getRequest(
745 806
             new Symbol(symbol),
746 807
             Function.STOCHRSI,
@@ -833,9 +894,9 @@ public class TechnicalIndicators {
833 894
    */
834 895
   public ULTOSC ultosc(String symbol,
835 896
                        Interval interval,
836
-                       @Nullable TimePeriod1 timePeriod1,
837
-                       @Nullable TimePeriod2 timePeriod2,
838
-                       @Nullable TimePeriod3 timePeriod3) {
897
+                       @Nullable org.AlphaVantage.input.technicalindicators.TimePeriod1 timePeriod1,
898
+                       @Nullable org.AlphaVantage.input.technicalindicators.TimePeriod2 timePeriod2,
899
+                       @Nullable org.AlphaVantage.input.technicalindicators.TimePeriod3 timePeriod3) {
839 900
     String json = apiConnector.getRequest(new Symbol(symbol), Function.ULTOSC, timePeriod1, timePeriod2, timePeriod3);
840 901
     return ULTOSC.from(interval, json);
841 902
   }

trader10/src/main/java/org/AlphaVantage/TimeSeries.java → 1.1.1/src/main/java/AlphaVantage/TimeSeries.java Прегледај датотеку

@@ -1,11 +1,10 @@
1
-package org.AlphaVantage;
1
+package AlphaVantage;
2 2
 
3
-import org.AlphaVantage.input.Function;
4
-import org.AlphaVantage.input.Symbol;
3
+import AlphaVantage.input.Function;
4
+import AlphaVantage.input.Symbol;
5 5
 import org.AlphaVantage.input.timeseries.Interval;
6 6
 import org.AlphaVantage.input.timeseries.OutputSize;
7 7
 import org.AlphaVantage.output.JsonParser;
8
-import org.AlphaVantage.output.timeseries.*;
9 8
 
10 9
 /**
11 10
  * The Stock Time Series Data provides realtime and historical equity data in 4 different temporal resolutions:
@@ -31,9 +30,9 @@ public class TimeSeries {
31 30
    * @param outputSize the specification of the amount of returned data points {@link OutputSize}
32 31
    * @return {@link IntraDay} time series data
33 32
    */
34
-  public IntraDay intraDay(String symbol, Interval interval, OutputSize outputSize)  {
33
+  public org.AlphaVantage.output.timeseries.IntraDay intraDay(String symbol, Interval interval, OutputSize outputSize)  {
35 34
     String json = apiConnector.getRequest(new Symbol(symbol), Function.TIME_SERIES_INTRADAY, interval, outputSize);
36
-    return IntraDay.from(interval, json);
35
+    return org.AlphaVantage.output.timeseries.IntraDay.from(interval, json);
37 36
   }
38 37
 
39 38
   /**
@@ -43,9 +42,9 @@ public class TimeSeries {
43 42
    * @param interval the interval between two consecutive data points in the time series {@link Interval}
44 43
    * @return {@link IntraDay} time series data
45 44
    */
46
-  public IntraDay intraDay(String symbol, Interval interval)  {
45
+  public org.AlphaVantage.output.timeseries.IntraDay intraDay(String symbol, Interval interval)  {
47 46
     String json = apiConnector.getRequest(new Symbol(symbol), Function.TIME_SERIES_INTRADAY, interval);
48
-    return IntraDay.from(interval, json);
47
+    return org.AlphaVantage.output.timeseries.IntraDay.from(interval, json);
49 48
   }
50 49
 
51 50
   /**
@@ -55,9 +54,9 @@ public class TimeSeries {
55 54
    * @param outputSize the specification of the amount of returned data points {@link OutputSize}
56 55
    * @return {@link Daily} time series data
57 56
    */
58
-  public Daily daily(String symbol, OutputSize outputSize)  {
57
+  public org.AlphaVantage.output.timeseries.Daily daily(String symbol, OutputSize outputSize)  {
59 58
     String json = apiConnector.getRequest(new Symbol(symbol), Function.TIME_SERIES_DAILY, outputSize);
60
-    return Daily.from(json);
59
+    return org.AlphaVantage.output.timeseries.Daily.from(json);
61 60
   }
62 61
 
63 62
   /**
@@ -66,9 +65,9 @@ public class TimeSeries {
66 65
    * @param symbol the stock symbol to lookup
67 66
    * @return {@link Daily} time series data
68 67
    */
69
-  public Daily daily(String symbol) {
68
+  public org.AlphaVantage.output.timeseries.Daily daily(String symbol) {
70 69
     String json = apiConnector.getRequest(new Symbol(symbol), Function.TIME_SERIES_DAILY);
71
-    return Daily.from(json);
70
+    return org.AlphaVantage.output.timeseries.Daily.from(json);
72 71
   }
73 72
 
74 73
   /**
@@ -78,9 +77,9 @@ public class TimeSeries {
78 77
    * @param outputSize the specification of the amount of returned data points {@link OutputSize}
79 78
    * @return {@link DailyAdjusted} time series data
80 79
    */
81
-  public DailyAdjusted dailyAdjusted(String symbol, OutputSize outputSize) {
80
+  public org.AlphaVantage.output.timeseries.DailyAdjusted dailyAdjusted(String symbol, OutputSize outputSize) {
82 81
     String json = apiConnector.getRequest(new Symbol(symbol), Function.TIME_SERIES_DAILY_ADJUSTED, outputSize);
83
-    return DailyAdjusted.from(json);
82
+    return org.AlphaVantage.output.timeseries.DailyAdjusted.from(json);
84 83
   }
85 84
 
86 85
   /**
@@ -89,9 +88,9 @@ public class TimeSeries {
89 88
    * @param symbol the stock symbol to lookup
90 89
    * @return {@link DailyAdjusted} time series data
91 90
    */
92
-  public DailyAdjusted dailyAdjusted(String symbol)  {
91
+  public org.AlphaVantage.output.timeseries.DailyAdjusted dailyAdjusted(String symbol)  {
93 92
     String json = apiConnector.getRequest(new Symbol(symbol), Function.TIME_SERIES_DAILY_ADJUSTED);
94
-    return DailyAdjusted.from(json);
93
+    return org.AlphaVantage.output.timeseries.DailyAdjusted.from(json);
95 94
   }
96 95
 
97 96
   /**
@@ -100,9 +99,9 @@ public class TimeSeries {
100 99
    * @param symbol the stock symbol to lookup
101 100
    * @return {@link Weekly} time series data
102 101
    */
103
-  public Weekly weekly(String symbol)  {
102
+  public org.AlphaVantage.output.timeseries.Weekly weekly(String symbol)  {
104 103
     String json = apiConnector.getRequest(new Symbol(symbol), Function.TIME_SERIES_WEEKLY);
105
-    return Weekly.from(json);
104
+    return org.AlphaVantage.output.timeseries.Weekly.from(json);
106 105
   }
107 106
 
108 107
   /**
@@ -111,9 +110,9 @@ public class TimeSeries {
111 110
    * @param symbol the stock symbol to lookup
112 111
    * @return {@link WeeklyAdjusted} time series data
113 112
    */
114
-  public WeeklyAdjusted weeklyAdjusted(String symbol)  {
113
+  public org.AlphaVantage.output.timeseries.WeeklyAdjusted weeklyAdjusted(String symbol)  {
115 114
     String json = apiConnector.getRequest(new Symbol(symbol), Function.TIME_SERIES_WEEKLY_ADJUSTED);
116
-    return WeeklyAdjusted.from(json);
115
+    return org.AlphaVantage.output.timeseries.WeeklyAdjusted.from(json);
117 116
   }
118 117
 
119 118
   /**
@@ -122,9 +121,9 @@ public class TimeSeries {
122 121
    * @param symbol the stock symbol to lookup
123 122
    * @return {@link Monthly} time series data
124 123
    */
125
-  public Monthly monthly(String symbol)  {
124
+  public org.AlphaVantage.output.timeseries.Monthly monthly(String symbol)  {
126 125
     String json = apiConnector.getRequest(new Symbol(symbol), Function.TIME_SERIES_MONTHLY);
127
-    return Monthly.from(json);
126
+    return org.AlphaVantage.output.timeseries.Monthly.from(json);
128 127
   }
129 128
 
130 129
   /**
@@ -133,9 +132,9 @@ public class TimeSeries {
133 132
    * @param symbol the stock symbol to lookup
134 133
    * @return {@link MonthlyAdjusted} time series data
135 134
    */
136
-  public MonthlyAdjusted monthlyAdjusted(String symbol) {
135
+  public org.AlphaVantage.output.timeseries.MonthlyAdjusted monthlyAdjusted(String symbol) {
137 136
     String json = apiConnector.getRequest(new Symbol(symbol), Function.TIME_SERIES_MONTHLY_ADJUSTED);
138
-    return MonthlyAdjusted.from(json);
137
+    return org.AlphaVantage.output.timeseries.MonthlyAdjusted.from(json);
139 138
   }
140 139
 
141 140
 }

trader10/src/main/java/org/AlphaVantage/input/ApiParameter.java → 1.1.1/src/main/java/AlphaVantage/input/ApiParameter.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/ApiParameterBuilder.java → 1.1.1/src/main/java/AlphaVantage/input/ApiParameterBuilder.java Прегледај датотеку

@@ -1,6 +1,7 @@
1 1
 package org.AlphaVantage.input;
2 2
 
3
-import javax.annotation.Nullable;
3
+import org.jetbrains.annotations.Nullable;
4
+
4 5
 
5 6
 /**
6 7
  * Builder for api parameters.
@@ -18,7 +19,7 @@ public class ApiParameterBuilder {
18 19
    * @param apiParameter the api parameter to append to the url.
19 20
    * @return an instance of this builder.
20 21
    */
21
-  public void append(@Nullable ApiParameter apiParameter) {
22
+  public void append(@Nullable org.AlphaVantage.input.ApiParameter apiParameter) {
22 23
     if (apiParameter != null) {
23 24
       append(apiParameter.getKey(), apiParameter.getValue());
24 25
     }

trader10/src/main/java/org/AlphaVantage/input/Function.java → 1.1.1/src/main/java/AlphaVantage/input/Function.java Прегледај датотеку

@@ -1,9 +1,9 @@
1
-package org.AlphaVantage.input;
1
+package AlphaVantage.input;
2 2
 
3 3
 /**
4 4
  * The function parameter for the api calls.
5 5
  */
6
-public enum Function implements ApiParameter {
6
+public enum Function implements org.AlphaVantage.input.ApiParameter {
7 7
 
8 8
   // Time Series functions
9 9
   TIME_SERIES_INTRADAY("TIME_SERIES_INTRADAY"),

trader10/src/main/java/org/AlphaVantage/input/Symbol.java → 1.1.1/src/main/java/AlphaVantage/input/Symbol.java Прегледај датотеку

@@ -1,9 +1,9 @@
1
-package org.AlphaVantage.input;
1
+package AlphaVantage.input;
2 2
 
3 3
 /**
4 4
  * The symbol parameter for the technical indicators/time series api call.
5 5
  */
6
-public class Symbol implements ApiParameter {
6
+public class Symbol implements org.AlphaVantage.input.ApiParameter {
7 7
   private String symbol;
8 8
 
9 9
   public Symbol(String symbol) {

trader10/src/main/java/org/AlphaVantage/input/Symbols.java → 1.1.1/src/main/java/AlphaVantage/input/Symbols.java Прегледај датотеку

@@ -3,7 +3,7 @@ package org.AlphaVantage.input;
3 3
 /**
4 4
  * The symbols parameter for the batch stock quotes api call.
5 5
  */
6
-public class Symbols implements ApiParameter {
6
+public class Symbols implements org.AlphaVantage.input.ApiParameter {
7 7
   private String[] symbols;
8 8
 
9 9
   public Symbols(String... symbols) {

trader10/src/main/java/org/AlphaVantage/input/digitalcurrencies/Market.java → 1.1.1/src/main/java/AlphaVantage/input/digitalcurrencies/Market.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/exchange/FromCurrency.java → 1.1.1/src/main/java/AlphaVantage/input/exchange/FromCurrency.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/exchange/ToCurrency.java → 1.1.1/src/main/java/AlphaVantage/input/exchange/ToCurrency.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/Acceleration.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/Acceleration.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/FastDMaType.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/FastDMaType.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/FastDPeriod.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/FastDPeriod.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/FastKPeriod.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/FastKPeriod.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/FastLimit.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/FastLimit.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/FastMaType.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/FastMaType.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/FastPeriod.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/FastPeriod.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/Interval.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/Interval.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/MaType.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/MaType.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/Maximum.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/Maximum.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/NBDevDn.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/NBDevDn.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/NBDevUp.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/NBDevUp.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/SeriesType.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SeriesType.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/SignalMaType.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SignalMaType.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/SignalPeriod.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SignalPeriod.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/SlowDMaType.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowDMaType.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/SlowDPeriod.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowDPeriod.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/SlowKMaType.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowKMaType.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/SlowKPeriod.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowKPeriod.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/SlowLimit.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowLimit.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/SlowMaType.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowMaType.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/SlowPeriod.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/SlowPeriod.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/TimePeriod.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/TimePeriod.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/TimePeriod1.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/TimePeriod1.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/TimePeriod2.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/TimePeriod2.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/technicalindicators/TimePeriod3.java → 1.1.1/src/main/java/AlphaVantage/input/technicalindicators/TimePeriod3.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/timeseries/Interval.java → 1.1.1/src/main/java/AlphaVantage/input/timeseries/Interval.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/input/timeseries/OutputSize.java → 1.1.1/src/main/java/AlphaVantage/input/timeseries/OutputSize.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/AlphaVantageException.java → 1.1.1/src/main/java/AlphaVantage/output/AlphaVantageException.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/JsonParser.java → 1.1.1/src/main/java/AlphaVantage/output/JsonParser.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/digitalcurrencies/Daily.java → 1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/Daily.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/digitalcurrencies/DigitalCurrencyParser.java → 1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/DigitalCurrencyParser.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/digitalcurrencies/DigitalCurrencyResponse.java → 1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/DigitalCurrencyResponse.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/digitalcurrencies/IntraDay.java → 1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/IntraDay.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/digitalcurrencies/Monthly.java → 1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/Monthly.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/digitalcurrencies/Weekly.java → 1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/Weekly.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/digitalcurrencies/data/DigitalCurrencyData.java → 1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/data/DigitalCurrencyData.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/digitalcurrencies/data/SimpelDigitalCurrencyData.java → 1.1.1/src/main/java/AlphaVantage/output/digitalcurrencies/data/SimpelDigitalCurrencyData.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/exchange/CurrencyExchange.java → 1.1.1/src/main/java/AlphaVantage/output/exchange/CurrencyExchange.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/exchange/data/CurrencyExchangeData.java → 1.1.1/src/main/java/AlphaVantage/output/exchange/data/CurrencyExchangeData.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/quote/BatchStockQuotesResponse.java → 1.1.1/src/main/java/AlphaVantage/output/quote/BatchStockQuotesResponse.java Прегледај датотеку

@@ -5,7 +5,6 @@ import com.google.gson.JsonSyntaxException;
5 5
 import com.google.gson.reflect.TypeToken;
6 6
 import org.AlphaVantage.output.JsonParser;
7 7
 import org.AlphaVantage.output.quote.data.StockQuote;
8
-import org.AlphaVantage.BatchStockQuotes;
9 8
 import org.AlphaVantage.output.AlphaVantageException;
10 9
 
11 10
 import java.lang.reflect.Type;

trader10/src/main/java/org/AlphaVantage/output/quote/data/StockQuote.java → 1.1.1/src/main/java/AlphaVantage/output/quote/data/StockQuote.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/sectorperformances/Sectors.java → 1.1.1/src/main/java/AlphaVantage/output/sectorperformances/Sectors.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/sectorperformances/data/SectorData.java → 1.1.1/src/main/java/AlphaVantage/output/sectorperformances/data/SectorData.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/AD.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/AD.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/ADOSC.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/ADOSC.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/ADX.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/ADX.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/ADXR.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/ADXR.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/APO.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/APO.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/AROON.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/AROON.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/AROONOSC.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/AROONOSC.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/ATR.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/ATR.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/BBANDS.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/BBANDS.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/BOP.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/BOP.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/CCI.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/CCI.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/CMO.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/CMO.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/DEMA.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/DEMA.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/DX.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/DX.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/EMA.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/EMA.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/HT_DCPERIOD.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/HT_DCPERIOD.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/HT_DCPHASE.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/HT_DCPHASE.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/HT_PHASOR.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/HT_PHASOR.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/HT_SINE.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/HT_SINE.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/HT_TRENDLINE.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/HT_TRENDLINE.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/HT_TRENDMODE.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/HT_TRENDMODE.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/KAMA.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/KAMA.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/MACD.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MACD.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/MACDEXT.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MACDEXT.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/MAMA.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MAMA.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/MFI.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MFI.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/MIDPOINT.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MIDPOINT.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/MIDPRICE.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MIDPRICE.java Прегледај датотеку


trader10/src/main/java/org/AlphaVantage/output/technicalindicators/MINUS_DI.java → 1.1.1/src/main/java/AlphaVantage/output/technicalindicators/MINUS_DI.java Прегледај датотеку


Неке датотеке нису приказане због велике количине промена