diff --git a/catalyst/examples/buy_and_hodl.py b/catalyst/examples/buy_and_hodl.py index c20338f4..59aed942 100644 --- a/catalyst/examples/buy_and_hodl.py +++ b/catalyst/examples/buy_and_hodl.py @@ -28,6 +28,9 @@ ASSET = 'USDT_BTC' TARGET_HODL_RATIO = 0.8 RESERVE_RATIO = 1.0 - TARGET_HODL_RATIO +# For all trading pairs in the poloniex bundle, the default denomination +# currently supported by Catalyst is 1/10th of a full coin. Use this constant +# to scale the price of up to that of a full coin if desired. UNITS_PER_COIN = 10.0 def initialize(context): diff --git a/catalyst/examples/dual_vwap.py b/catalyst/examples/dual_vwap.py index c177db26..86c73d4b 100644 --- a/catalyst/examples/dual_vwap.py +++ b/catalyst/examples/dual_vwap.py @@ -37,6 +37,9 @@ TARGET_INVESTMENT_RATIO = 0.8 SHORT_WINDOW = 30 LONG_WINDOW = 100 +# For all trading pairs in the poloniex bundle, the default denomination +# currently supported by Catalyst is 1/10th of a full coin. Use this constant +# to scale the price of up to that of a full coin if desired. UNITS_PER_COIN = 10.0 def initialize(context):