Changed max price to 15000 CLORE.
This commit is contained in:
parent
bf2d3e4fd8
commit
53be680b27
|
|
@ -98,9 +98,9 @@ def validate_clore_config(clore_config):
|
||||||
required_keys = {"on_demand_bitcoin", "on_demand_clore", "spot_bitcoin", "spot_clore"}
|
required_keys = {"on_demand_bitcoin", "on_demand_clore", "spot_bitcoin", "spot_clore"}
|
||||||
if required_keys.issubset(clore_config):
|
if required_keys.issubset(clore_config):
|
||||||
return 0.000001 <= clore_config["on_demand_bitcoin"] <= 0.005 and \
|
return 0.000001 <= clore_config["on_demand_bitcoin"] <= 0.005 and \
|
||||||
0.1 <= clore_config["on_demand_clore"] <= 10000 and \
|
0.1 <= clore_config["on_demand_clore"] <= 15000 and \
|
||||||
0.000001 <= clore_config["spot_bitcoin"] <= 0.005 and \
|
0.000001 <= clore_config["spot_bitcoin"] <= 0.005 and \
|
||||||
0.1 <= clore_config["spot_clore"] <= 10000
|
0.1 <= clore_config["spot_clore"] <= 15000
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def is_valid_usd_pricing(autoprice):
|
def is_valid_usd_pricing(autoprice):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue