Created Indicator interface implemented by SMAIndicator

This commit is contained in:
7u83 2017-11-06 07:06:35 +01:00
parent 65581557e5
commit 737f8aa4ff
3 changed files with 9 additions and 1 deletions

View File

@ -56,6 +56,7 @@
<file>file:/home/tube/NetBeansProjects/SeSim/src/chart/SuperDlg.java</file> <file>file:/home/tube/NetBeansProjects/SeSim/src/chart/SuperDlg.java</file>
<file>file:/home/tube/NetBeansProjects/SeSim/src/sesim/Order.java</file> <file>file:/home/tube/NetBeansProjects/SeSim/src/sesim/Order.java</file>
<file>file:/home/tube/NetBeansProjects/SeSim/README.md</file> <file>file:/home/tube/NetBeansProjects/SeSim/README.md</file>
<file>file:/home/tube/NetBeansProjects/SeSim/src/sesim/SMAIndicator.java</file>
</group> </group>
</open-files> </open-files>
</project-private> </project-private>

View File

@ -1,4 +1,4 @@
#Sat, 28 Oct 2017 09:14:37 +0200 #Mon, 30 Oct 2017 22:01:54 +0100
annotation.processing.enabled=true annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false annotation.processing.enabled.in.editor=false
annotation.processing.processors.list= annotation.processing.processors.list=

View File

@ -205,6 +205,13 @@ public class Exchange {
} }
} }
ArrayList <Indicator> indicators;
void updateIndicators(Quote q){
}
public void createTraders(JSONArray traderdefs) { public void createTraders(JSONArray traderdefs) {
for (int i = 0; i < traderdefs.length(); i++) { for (int i = 0; i < traderdefs.length(); i++) {
JSONObject o = traderdefs.getJSONObject(i); JSONObject o = traderdefs.getJSONObject(i);