-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from ondra-novak/2.0
Version 2.0 releases
- Loading branch information
Showing
132 changed files
with
10,734 additions
and
4,295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<project> | ||
|
||
<configuration id="cdt.managedbuild.toolchain.gnu.base.1250489660" name="Default"> | ||
|
||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider"> | ||
|
||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/> | ||
|
||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/> | ||
|
||
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/> | ||
|
||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-483148077153666342" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true"> | ||
|
||
<language-scope id="org.eclipse.cdt.core.gcc"/> | ||
|
||
<language-scope id="org.eclipse.cdt.core.g++"/> | ||
|
||
</provider> | ||
|
||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> | ||
|
||
</extension> | ||
|
||
</configuration> | ||
|
||
<configuration id="cdt.managedbuild.toolchain.gnu.base.1250489660" name="Default"> | ||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider"> | ||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/> | ||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/> | ||
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/> | ||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="1124083638270912153" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true"> | ||
<language-scope id="org.eclipse.cdt.core.gcc"/> | ||
<language-scope id="org.eclipse.cdt.core.g++"/> | ||
</provider> | ||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> | ||
</extension> | ||
</configuration> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
mkdir -p ./data | ||
mkdir -p ./secure_data | ||
mkdir -p ./log | ||
mkdir -p ./run | ||
cmake -DCMAKE_BUILD_TYPE=RELWITHDEBINFO . | ||
make all -j `nproc` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
test_user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,122 +1,83 @@ | ||
# General config rules | ||
# | ||
# The format of the configuration is similar to standard ini file | ||
# | ||
# [This is begin of section] | ||
# key=value | ||
# @directive <argumet> | ||
[service] | ||
|
||
# specifies an instance file | ||
# the instance file is file created when service starts and it | ||
# is used to communicate with the command-line interface. | ||
# | ||
# Duplicate sections are merged | ||
# Duplicate keys in the same sections replaces each other | ||
# If you need a multiline value, use backslash at the end \ | ||
# of line | ||
# | ||
# | ||
# Directives can control how the configuration file is processed | ||
# this file also used to detect, whether the bot is running, to | ||
# support start/stop/restart and other features. You can run multiple | ||
# instances where the each instance has different inst_file. | ||
# | ||
# @include <relative_path> - includes other file. Its content is merged with | ||
# the current. | ||
# if you delete instance file while the bot is running, you will | ||
# unable to control the service. You need to kill it manually | ||
# using killall (or pidof mmbot and kill) | ||
# | ||
# @template <name> - merges specified section to current section. The specified | ||
# section acts as template, its keys are imported | ||
# to current section. This reduces duplicated declarations | ||
# | ||
# [aaa] | ||
# a=1 | ||
# b=2 | ||
# c=3 | ||
# | ||
# [bbb] | ||
# @template aaa - imports a,b,c into section [aaa] | ||
# d=4 | ||
|
||
inst_file=../run/inst.pid | ||
|
||
# Allows to change effective user. This is useful, when the bot | ||
# is started under root account. However it is not recommended at all. | ||
# it is better to start the bot directly through the "su". | ||
|
||
# user=mmbot | ||
|
||
########################################### | ||
# | ||
# Paths: All paths can be relative to the configuration file where they appear. | ||
# | ||
########################################### | ||
# | ||
# Service settinggs | ||
# | ||
# inst_file - specify path to an instance file (pid file) | ||
# - this file identifies the service while it runs | ||
# - the file is created on start | ||
# - required | ||
# | ||
# name - name of the service (appears on various places) | ||
# socket file used to communicate with webserver | ||
|
||
socket=../run/mmbot.socket:666 | ||
|
||
# enable listening on specified port. It is disabled by default to enable multiple instalations | ||
# | ||
# user - switch to user after start | ||
#listen=localhost:11223 | ||
# | ||
|
||
[service] | ||
inst_file=../data/inst.pid | ||
# path to the directory, where traders data are stored | ||
|
||
# user=mmbot | ||
storage_path=../data | ||
|
||
# data are stored in binary format. You can disable binary format | ||
# then data are stored as json. This makes large files, but readable | ||
# for humans. Use this if you need to edit the data files. | ||
# | ||
# Enables logging | ||
# | ||
# file - path to log file (it is created) | ||
# level - minimal level: debug, info, progress, note, warning, error, fatal | ||
# | ||
# Note: option -d temporarily sets level to debug. Option -v redirects log to stdout | ||
# Note that you can edit data files only if the bot is stopped | ||
|
||
#storage_binary=yes | ||
|
||
# specify admin login:password in base64 to log into webadmin in case that you lost access | ||
# | ||
#admin=YWRtaW46c2VjcmV0 | ||
|
||
|
||
[log] | ||
|
||
# specify path and name for the log file | ||
|
||
file=../log/logfile | ||
level=info | ||
|
||
# | ||
# Trades common configuration | ||
# | ||
# storage_path - path to directory where data files are stored | ||
# | ||
# | ||
# defines level of logging | ||
# available levels are (from the most verbose to less) | ||
# - debug - log everything | ||
# - info - important informations, such subresults of calculations etc. | ||
# - progress - used to log progress of various operations | ||
# - note - important messages, that should not be harmfull | ||
# - warning - important message, that may be harmfull or recoverable errors | ||
# - error - errors mostly unrecoverable | ||
# - fatal - fatal errors and crashes | ||
|
||
[traders] | ||
storage_path=../data | ||
level=info | ||
|
||
# | ||
# Report configuration | ||
# | ||
# path - path where reports are placed | ||
# interval - exports records not older than specified time in miliseconds | ||
# | ||
# http_bind - enables local webserver to see results. The value specifies | ||
# address and port where the content is served | ||
# | ||
# (use http://<http_bind>) | ||
# http_auth - enable basic autentification. Specify one or more login | ||
# tokens separated by a space. To generate login token, use | ||
# following command | ||
# | ||
# $echo -n "login:password" | base64 | ||
# | ||
# a2np - counts accumulated assets as profit. | ||
# This causes that overlall normalized profit | ||
# will partially copy development of the asset's price, because | ||
# accumulated assets are part of the profit. | ||
# If this option is turned off while the options | ||
# `acum_factor_buy` and `acum_factor_sell` are set to 1 results | ||
# accumulated profit to zero | ||
# because all of the profit is used to accumulation. | ||
# Default is off | ||
|
||
|
||
[report] | ||
|
||
# specify path where the report is stored | ||
|
||
path=../www | ||
|
||
# specify defaul interval of reported data (configured from webadmin) | ||
|
||
interval=864000000 | ||
# http_bind=127.0.0.1:11223 | ||
# | ||
## echo -n "admin:secret" | base64 | ||
# http_auth=YWRtaW46c2VjcmV0 | ||
# | ||
|
||
# daily_report_service=../../mmbot_couchdb_report/bin/mmbot_perf ../../mmbot_couchdb_report/conf/mmbot_perf.conf ident | ||
|
||
|
||
@include brokers.conf | ||
@include traders.conf | ||
|
Oops, something went wrong.