Skip to content

Commit

Permalink
Merge pull request #210 from Drakkar-Software/dev
Browse files Browse the repository at this point in the history
#198 [Order Creation] Implement new architecture : Feature/trading modes
  • Loading branch information
Herklos authored Jun 3, 2018
2 parents 9c1eb35 + 344feb9 commit ff50d50
Show file tree
Hide file tree
Showing 19 changed files with 466 additions and 573 deletions.
2 changes: 1 addition & 1 deletion .coveralls.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
service_name: travis-pro
repo_token: JQVHIBvfdoD1tVTbKPVz1zWPYF4dfR14i
repo_token: 1cFP5IeydNWl3yFJ9bj7cWegFHbkYdVZe
parallel: true # if the CI is running your build in parallel
13 changes: 11 additions & 2 deletions config/cst.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from enum import Enum

SHORT_VERSION = "0.1.0"
REV_VERSION = "1"
REV_VERSION = "2"
VERSION_DEV_PHASE = "beta"
VERSION = "{0}-{1}".format(SHORT_VERSION, VERSION_DEV_PHASE)
LONG_VERSION = "{0}_{1}-{2}".format(SHORT_VERSION, REV_VERSION, VERSION_DEV_PHASE)
Expand Down Expand Up @@ -45,6 +45,7 @@
CONFIG_SIMULATOR = "trader_simulator"
CONFIG_STARTING_PORTFOLIO = "starting_portfolio"
CONFIG_TRADER_RISK = "risk"
CONFIG_TRADER_MODE = "mode"
CONFIG_TRADER_RISK_MIN = 0.05
CONFIG_TRADER_RISK_MAX = 1
ORDER_REFRESHER_TIME = 15
Expand Down Expand Up @@ -147,6 +148,15 @@
TENTACLE_DESCRIPTION_LOCALISATION = "localisation"
TENTACLE_DESCRIPTION_IS_URL = "is_url"

TENTACLE_TYPES = {"Evaluator": "evaluator",
"Social": "Social",
"RealTime": "RealTime",
"Util": "Util",
"TA": "TA",
"Strategies": "Strategies",
"Trading": "trading",
"Mode": "trader/modes"}


class EvaluatorMatrixTypes(Enum):
TA = "TA"
Expand Down Expand Up @@ -205,7 +215,6 @@ class TimeFrames(Enum):

MIN_EVAL_TIME_FRAME = TimeFrames.FIVE_MINUTES


TimeFramesMinutes = {
TimeFrames.ONE_MINUTE: 1,
TimeFrames.THREE_MINUTES: 3,
Expand Down
4 changes: 3 additions & 1 deletion config/default_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
},
"trader":{
"enabled": false,
"risk": 0.5
"risk": 0.5,
"reference_market": "BTC",
"mode": "DailyTradingMode"
},
"trader_simulator":{
"enabled": true,
Expand Down
13 changes: 13 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
Changelog for 0.1.0_2-beta
====================
*Released date : June 3 2018*

**Info** :
- Config : "mode" key added to "trader"

# Concerned issues :
#198 [Order Creation] Implement new architecture

# New features :
- Trading modes

Changelog for 0.1.0_1-beta
====================
*Released date : June 2 2018*
Expand Down
144 changes: 0 additions & 144 deletions evaluator/evaluator_final.py

This file was deleted.

Loading

0 comments on commit ff50d50

Please sign in to comment.