base position on stake amount instead of total capital

This commit is contained in:
misagh
2018-11-10 18:22:34 +01:00
parent 7dd74c374a
commit d613553306
2 changed files with 3 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ class Edge():
self.edge_config = self.config.get('edge', {})
self._cached_pairs: Dict[str, Any] = {} # Keeps a list of pairs
self._total_capital: float = self.edge_config.get('total_capital_in_stake_currency')
self._total_capital: float = self.config.get('stake_amount')
self._allowed_risk: float = self.edge_config.get('allowed_risk')
self._since_number_of_days: int = self.edge_config.get('calculate_since_number_of_days', 14)
self._last_updated: int = 0 # Timestamp of pairs last updated time