mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
strategy/linregmaker: adj config
This commit is contained in:
parent
71137620bd
commit
19d4033aaa
|
@ -126,7 +126,7 @@ exchangeStrategies:
|
|||
# log means we want to use log scale, you can replace "log" with "linear" for linear scale
|
||||
linear:
|
||||
# from lower band -100% (-1) to upper band 100% (+1)
|
||||
domain: [ -0.05, 0.05 ]
|
||||
domain: [ -0.02, 0.02 ]
|
||||
# when in down band, holds 1.0 by maximum
|
||||
# when in up band, holds 0.05 by maximum
|
||||
range: [ 0, 0.1 ]
|
||||
|
@ -140,7 +140,7 @@ exchangeStrategies:
|
|||
# log means we want to use log scale, you can replace "log" with "linear" for linear scale
|
||||
linear:
|
||||
# from lower band -100% (-1) to upper band 100% (+1)
|
||||
domain: [0.05, -0.05 ]
|
||||
domain: [0.02, -0.02 ]
|
||||
# when in down band, holds 1.0 by maximum
|
||||
# when in up band, holds 0.05 by maximum
|
||||
range: [ 0, 0.1 ]
|
||||
|
|
Loading…
Reference in New Issue
Block a user