Initial commit of multiasset branch
This commit is contained in:
25
src/opensesim/resources/TOC.xml
Normal file
25
src/opensesim/resources/TOC.xml
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version='1.0' encoding='ISO-8859-1' ?>
|
||||
<!DOCTYPE toc
|
||||
PUBLIC
|
||||
"-//Sun Microsystems Inc.//DTD
|
||||
JavaHelp TOC Version 2.0//EN"
|
||||
"http://java.sun.com/products/javahelp/toc_2_0.dtd">
|
||||
<toc version="2.0">
|
||||
<tocitem image="toplevelfolder"
|
||||
text="OpenSeSim - Stock Exchange Simulator">
|
||||
|
||||
<tocitem target="jde.intro" text="Introduction to JDE Online Help" />
|
||||
<tocitem text="IDE Tutorial" target="tut.starttoc">
|
||||
<tocitem text="Introducing JDE" target="tut.intro" />
|
||||
<tocitem text="Tutorial One" target="tut.quickstart" />
|
||||
<tocitem text="Tutorial Two" target="tut.edit" />
|
||||
<tocitem text="Tutorial Three" target="tut.errors" />
|
||||
</tocitem>
|
||||
<tocitem text="Beans in JDE" target="bean.jbeanstory" />
|
||||
<tocitem text="Tips on Using Beans Effectively"
|
||||
target="bean.beantips"
|
||||
mergetype="javax.help.SortMerge"
|
||||
presentationtype="javax.help.SecondaryWindow"
|
||||
presentationname="mainsw" />
|
||||
</tocitem>
|
||||
</toc>
|
60
src/opensesim/resources/files/defaultcfg.json
Normal file
60
src/opensesim/resources/files/defaultcfg.json
Normal file
@ -0,0 +1,60 @@
|
||||
{
|
||||
"traders": [
|
||||
{
|
||||
"Money": "1000000.0",
|
||||
"Strategy": "SimpleRandom",
|
||||
"Enabled": "true",
|
||||
"Count": "1",
|
||||
"Shares": "10000.0",
|
||||
"Name": "Alice"
|
||||
},
|
||||
{
|
||||
"Money": "10000.0",
|
||||
"Strategy": "SimpleRandom",
|
||||
"Enabled": "true",
|
||||
"Count": "1",
|
||||
"Shares": "100.0",
|
||||
"Name": "Bob"
|
||||
}
|
||||
],
|
||||
"strategies": {"SimpleRandom": {
|
||||
"sell_wait": [
|
||||
10000,
|
||||
50000
|
||||
],
|
||||
"initla_delay": [
|
||||
0,
|
||||
5
|
||||
],
|
||||
"sell_limit": [
|
||||
-2,
|
||||
2
|
||||
],
|
||||
"sell_wait_after": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"buy_wait": [
|
||||
10000,
|
||||
50000
|
||||
],
|
||||
"sell_volume": [
|
||||
100,
|
||||
100
|
||||
],
|
||||
"buy_wait_after": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"buy_volume": [
|
||||
100,
|
||||
100
|
||||
],
|
||||
"buy_limit": [
|
||||
-2,
|
||||
2
|
||||
],
|
||||
"base": "opensesim.traders.RandomTraderA"
|
||||
}},
|
||||
"version": 0.1
|
||||
}
|
103
src/opensesim/resources/helpset.hs
Normal file
103
src/opensesim/resources/helpset.hs
Normal file
@ -0,0 +1,103 @@
|
||||
<?xml version='1.0' encoding='ISO-8859-1' ?>
|
||||
<!DOCTYPE helpset
|
||||
PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN"
|
||||
"http://java.sun.com/products/javahelp/helpset_1_0.dtd">
|
||||
|
||||
<helpset version="2.0">
|
||||
<!-- title -->
|
||||
<title>Java Development Environment - Help</title>
|
||||
|
||||
<!-- maps -->
|
||||
<maps>
|
||||
<homeID>top </homeID>
|
||||
<mapref location="Map.jhm" />
|
||||
</maps>
|
||||
|
||||
<!-- views -->
|
||||
<view xml:lang="en" mergetype="javax.help.UniteAppendMerge">
|
||||
<name>TOC</name>
|
||||
<label>OpenSeSim Table Of Contents</label>
|
||||
<type>javax.help.TOCView</type>
|
||||
<data>TOC.xml</data>
|
||||
</view>
|
||||
|
||||
<view xml:lang="en" mergetype="javax.help.SortMerge">
|
||||
<name>Index</name>
|
||||
<label>Index</label>
|
||||
<type>javax.help.IndexView</type>
|
||||
<data>IdeHelpIndex.xml</data>
|
||||
</view>
|
||||
|
||||
<view xml:lang="en">
|
||||
<name>Search</name>
|
||||
<label>Search</label>
|
||||
<type>javax.help.SearchView</type>
|
||||
<data engine="com.sun.java.help.search.DefaultSearchEngine">
|
||||
JavaHelpSearch
|
||||
</data>
|
||||
</view>
|
||||
|
||||
|
||||
<!-- A glossary navigator -->
|
||||
<!-- <view mergetype="javax.help.SortMerge">
|
||||
<name>glossary</name>
|
||||
<label>Glossary</label>
|
||||
<type>javax.help.GlossaryView</type>
|
||||
<data>glossary.xml</data>
|
||||
</view>
|
||||
-->
|
||||
<!-- A favorites navigator -->
|
||||
<view>
|
||||
<name>favorites</name>
|
||||
<label>Favorites</label>
|
||||
<type>javax.help.FavoritesView</type>
|
||||
</view>
|
||||
|
||||
<!-- presentation windows -->
|
||||
|
||||
<!-- This window is the default one for the helpset.
|
||||
* Its title bar says "Project X Help". It
|
||||
* is a tri-paned window because displayviews, not
|
||||
* defined, defaults to true and because a toolbar is defined.
|
||||
* The toolbar has a back arrow, a forward arrow, and
|
||||
* a home button that has a user-defined image.
|
||||
-->
|
||||
<presentation default="true">
|
||||
<name>main window</name>
|
||||
<size width="400" height="400" />
|
||||
<location x="200" y="200" />
|
||||
<title>Project X Help</title>
|
||||
<toolbar>
|
||||
<helpaction>javax.help.BackAction</helpaction>
|
||||
<helpaction>javax.help.ForwardAction</helpaction>
|
||||
<helpaction image="homeicon">javax.help.HomeAction</helpaction>
|
||||
</toolbar>
|
||||
</presentation>
|
||||
|
||||
<!-- This window is simpler than the main window.
|
||||
* It's intended to be used a secondary window.
|
||||
* It has no navigation pane or toolbar.
|
||||
-->
|
||||
<presentation displayviews="false">
|
||||
<name>secondary window</name>
|
||||
<size width="200" height="200" />
|
||||
<location x="200" y="200" />
|
||||
</presentation>
|
||||
|
||||
<!-- subhelpsets -->
|
||||
<subhelpset location="file:/c:/Foobar/HelpSet2.hs" />
|
||||
|
||||
<!-- implementation section -->
|
||||
<impl>
|
||||
<helpsetregistry helpbrokerclass="javax.help.DefaultHelpBroker" />
|
||||
<viewerregistry viewertype="text/html"
|
||||
viewerclass="com.sun.java.help.impl.CustomKit />
|
||||
<viewerregistry viewertype="text/xml"
|
||||
viewerclass="com.sun.java.help.impl.CustomXMLKit />
|
||||
</impl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</helpset>
|
BIN
src/opensesim/resources/icons/pause.gif
Normal file
BIN
src/opensesim/resources/icons/pause.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 272 B |
BIN
src/opensesim/resources/icons/run.gif
Normal file
BIN
src/opensesim/resources/icons/run.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 247 B |
BIN
src/opensesim/resources/icons/stop.gif
Normal file
BIN
src/opensesim/resources/icons/stop.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 777 B |
Reference in New Issue
Block a user