Skip to content

Commit

Permalink
Merge pull request #35 from atdl4j/feature/4.0.0
Browse files Browse the repository at this point in the history
Upgrade to Java 1.8. Address library vulnerabilities
  • Loading branch information
TyAshley committed Apr 19, 2023
2 parents a58d43f + e4786f6 commit 96d6a5f
Show file tree
Hide file tree
Showing 164 changed files with 3,637 additions and 1,862 deletions.
142 changes: 135 additions & 7 deletions .gitignore
@@ -1,8 +1,136 @@
.project
.classpath
.settings/
HELP.md
!**/src/main/**/target/
!**/src/test/**/target/

## Java.gitignore
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

## Maven.gitignore
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
#!.mvn/wrapper/maven-wrapper.jar
.mvn/wrapper/maven-wrapper.jar

## Eclipse.gitignore
.metadata
#bin/
target/
.idea/
atdl4j.iml
atdl4j-ui.iml
atdl4j.iws
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings
.loadpath
.recommenders

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# PyDev specific (Python IDE for Eclipse)
*.pydevproject

# CDT-specific (C/C++ Development Tooling)
.cproject

# CDT- autotools
.autotools

# Java annotation processor (APT)
.factorypath

# PDT-specific (PHP Development Tools)
.buildpath

# sbteclipse plugin
.target

# Tern plugin
.tern-project

# TeXlipse plugin
.texlipse

# STS (Spring Tool Suite)
.springBeans
.sts4-cache

# Code Recommenders
.recommenders/

# Annotation Processing
.apt_generated
.apt_generated_test

# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet

# Uncomment this line if you wish to ignore the project description file.
# Typically, this file would be tracked if it contains build/dependency configurations:
.project

## VisualStudioCode.gitignore
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# Local History for Visual Studio Code
.history/

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

.sonatype
12 changes: 5 additions & 7 deletions README.md
Expand Up @@ -2,13 +2,11 @@

#### The Open Source Java Solution for FIXatdl

atdl4j is an open source and not-for-profit Java implementation of [FIXatdl](http://www.fixprotocol.org/FIXatdl), the FIX Protocol Algorithmic Trading Definition Language standard developed by FIX Protocol Limited (FPL).

Please see [the atdl4j Homepage](http://atdl4j.org) for an overview.
atdl4j is an open source and not-for-profit Java implementation of [FIXatdl](https://www.fixtrading.org/standards/fixatdl/), the FIX Protocol Algorithmic Trading Definition Language standard developed by [FIX Protocol Limited (FPL)](https://www.fixtrading.org/).

## Features

* Compatible with Java 6 and upper versions
* Compatible with Java 8 and upper versions
* Displays algo input screens based on the latest industry-standard FIXatdl 1.1 XML schema
* Reads and generates algorithm-specific FIX message content
* Can be integrated into a trading system, or run as a standalone testing/validation tool.
Expand Down Expand Up @@ -49,15 +47,15 @@ If you are intending to implement a full-stack trading system with FIX order cap

## Key Contributors

* Scott Atwell, American Century
* [Scott Atwell](https://github.com/scottatwell), American Century Investments
* [John Shields](https://github.com/johnnyshields)
* Danilo Tuler, Investtools
* Renato Gallart, Investtools

## License

atdlj is licensed under the MIT license. Refer to LICENSE file for details
atdl4j is licensed under the MIT license. Refer to LICENSE file for details

FIX Protocol and FIXatdl are trademarks or service marks of FIX Protocol Limited

[Looking for a .NET implementation of FIXatdl? Check out atdl4net](http://atdl4net.org)
[Looking for a .NET implementation of FIXatdl? Check out atdl4net](https://github.com/atdl4net/atdl4net)
17 changes: 0 additions & 17 deletions dist/atdl4j-swing-launcher-3.0.3.jnlp

This file was deleted.

17 changes: 0 additions & 17 deletions dist/atdl4j-swt-launcher-3.0.3.jnlp

This file was deleted.

Binary file removed dist/atdl4j-ui-3.0.3.jar
Binary file not shown.
75 changes: 75 additions & 0 deletions docs/SWTAtdl4jTesterApp overhaul_layering 20100304.txt
@@ -0,0 +1,75 @@
"SWTApplication" refactoring - rename to "SWTAtdl4jTesterApp", overhaul, and layered

Interfaces:
-----------
- org.atdl4j.ui.app.Atdl4jTesterPanel
- org.atdl4j.ui.app.Atdl4jInputAndFilterDataSelectionPanel
- org.atdl4j.ui.app.Atdl4jInputAndFilterDataPanel
- org.atdl4j.ui.app.FixMsgLoadPanel
- org.atdl4j.ui.app.Atdl4jCompositePanel
- org.atdl4j.ui.app.FixatdlFileSelectionPanel
- org.atdl4j.ui.app.StrategySelectionPanel
- org.atdl4j.ui.app.StrategyDescriptionPanel
- org.atdl4j.ui.app.StrategiesPanel

Non-UI-specific abstract base implementation:
---------------------------------------------
org.atdl4j.ui.app.AbstractAtdl4jTesterApp
- org.atdl4j.ui.app.AbstractAtdl4jTesterPanel
- org.atdl4j.ui.app.AbstractAtdl4jInputAndFilterDataSelectionPanel
- org.atdl4j.ui.app.AbstractAtdl4jInputAndFilterDataPanel
- org.atdl4j.ui.app.AbstractFixMsgLoadPanel
- org.atdl4j.ui.app.AbstractAtdl4jCompositePanel
- org.atdl4j.ui.app.AbstractFixatdlFileSelectionPanel
- org.atdl4j.ui.app.AbstractStrategySelectionPanel
- org.atdl4j.ui.app.AbstractStrategyDescriptionPanel
- org.atdl4j.ui.app.AbstractStrategiesPanel

SWT-specific implementation:
----------------------------
org.atdl4j.ui.swt.app.SWTAtdl4jTesterApp
- org.atdl4j.ui.swt.app.SWTAtdl4jTesterPanel
- org.atdl4j.ui.swt.app.SWTAtdl4jInputAndFilterDataSelectionPanel
- org.atdl4j.ui.swt.app.SWTAtdl4jInputAndFilterDataPanel
- org.atdl4j.ui.swt.app.SWTFixMsgLoadPanel
- org.atdl4j.ui.swt.app.SWTAtdl4jCompositePanel
- org.atdl4j.ui.swt.app.SWTFixatdlFileSelectionPanel
- org.atdl4j.ui.swt.app.SWTStrategySelectionPanel
- org.atdl4j.ui.swt.app.SWTStrategyDescriptionPanel
- org.atdl4j.ui.swt.app.SWTStrategiesPanel

Listeners:
----------
- org.atdl4j.ui.app.Atdl4jInputAndFilterDataPanelListener
- org.atdl4j.ui.app.FixMsgLoadPanelListener
- org.atdl4j.ui.app.FixatdlFileSelectionPanelListener
- org.atdl4j.ui.app.StrategySelectionPanelListener
- org.atdl4j.ui.app.StrategiesPanelListener

Pop-up message handler:
-----------------------
- org.atdl4j.ui.app.Atdl4jUserMessageHandler
- org.atdl4j.ui.app.AbstractAtdl4jUserMessageHandler
- org.atdl4j.ui.swt.app.SWTAtdl4jUserMessageHandler

Config:
-------
- org.atdl4j.config.Atdl4jConfig
- org.atdl4j.config.AbstractAtdl4jConfig
- org.atdl4j.ui.swt.config.SWTAtdl4jConfig
- org.atdl4j.config.InputAndFilterData


Tweaks:
- InputAndFilterData - Added INPUT_FIELD_NAME_STRATEGY_FILTER_FIX_MSG_TYPE, getInputStrategyFilterFixMsgType(), setInputStrategyFilterFixMsgType(), and isFixMsgTypeSupportedForStrategy()
- org.atdl4j.ui.ControlHelper
- org.atdl4j.ui.impl.AbstractControlUI<E>
- org.atdl4j.ui.impl.AbstractStrategyUI
- org.atdl4j.ui.impl.BaseControlUIFactory
- org.atdl4j.ui.impl.BaseStrategiesUIFactory
- org.atdl4j.ui.swt.impl.SWTFactory
- org.atdl4j.ui.swt.impl.SWTStrategiesUI




Binary file added docs/atdl4j Design Overview.pdf
Binary file not shown.
7 changes: 6 additions & 1 deletion examples.md
Expand Up @@ -2,6 +2,9 @@

## Swing


See SwingAtdl4jTesterApp.java

```java
// Embed the strategy panel in your own JFrame/JDialog
JFrame frame = new JFrame();
Expand All @@ -17,7 +20,7 @@ Atdl4jOptions options = new Atdl4jOptions();
SwingAtdl4jCompositePanel atdlPanel = new SwingAtdl4jCompositePanel();
JPanel strategyPanel = (JPanel) atdlPanel.buildAtdl4jCompositePanel(frame, options);

String file = "path_to_atdl_file.xml";
String file = "path_to_atdl_file.xml"; // (see src/test/resources for example FIXatdl files)
atdlPanel.parseFixatdlFile(file);
atdlPanel.loadScreenWithFilteredStrategies();

Expand All @@ -28,3 +31,5 @@ frame.setVisible(true);

## SWT

See SWTAtdl4jTesterApp.java

0 comments on commit 96d6a5f

Please sign in to comment.