Fix trade function (again)
This commit is contained in:
parent
44b2c1c05e
commit
6723b8a21e
1 changed files with 4 additions and 0 deletions
4
tools.py
4
tools.py
|
@ -1926,6 +1926,8 @@ def maketrade():
|
|||
outc.extend(mptc)
|
||||
else:
|
||||
trylowch = True
|
||||
else:
|
||||
trylowch = False
|
||||
if trylowch:
|
||||
inc.extend(lpwc)
|
||||
if len(inc) > len(outc):
|
||||
|
@ -1996,6 +1998,8 @@ def maketrade():
|
|||
outs.extend(mpts)
|
||||
else:
|
||||
trylowsp = True
|
||||
else:
|
||||
trylowsp = False
|
||||
if trylowsp:
|
||||
ins.extend(lpws)
|
||||
if len(ins) > len(outs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue