aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-01-20 14:19:51 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-01-20 14:19:51 +0100
commitf0e4f1828138f86cee54d9f8c4414228840207aa (patch)
tree904e48554a2524f9a0f805f5e6c3162bfdce7c74
parent5ab23e1c86de4caf0a34b9b91e5b9eddb0efa222 (diff)
downloadTrader-f0e4f1828138f86cee54d9f8c4414228840207aa.tar.gz
Trader-f0e4f1828138f86cee54d9f8c4414228840207aa.tar.zst
Trader-f0e4f1828138f86cee54d9f8c4414228840207aa.zip
Remove unused decorator
-rw-r--r--portfolio.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/portfolio.py b/portfolio.py
index e1ee1f8..4991dce 100644
--- a/portfolio.py
+++ b/portfolio.py
@@ -8,12 +8,6 @@ from market import market
8# FIXME: J'essayais d'utiliser plus de bitcoins que j'en avais à disposition 8# FIXME: J'essayais d'utiliser plus de bitcoins que j'en avais à disposition
9# FIXME: better compute moves to avoid rounding errors 9# FIXME: better compute moves to avoid rounding errors
10 10
11def static_var(varname, value):
12 def decorate(func):
13 setattr(func, varname, value)
14 return func
15 return decorate
16
17class Portfolio: 11class Portfolio:
18 URL = "https://cryptoportfolio.io/wp-content/uploads/portfolio/json/cryptoportfolio.json" 12 URL = "https://cryptoportfolio.io/wp-content/uploads/portfolio/json/cryptoportfolio.json"
19 liquidities = {} 13 liquidities = {}