strategy trade counter, gui shortcuts, better log
This commit is contained in:
@ -3,21 +3,21 @@ from v2realbot.enums.enums import Mode, Account, FillCondition
|
||||
from appdirs import user_data_dir
|
||||
|
||||
|
||||
#how many consecutive trades with the fill price are necessary for LIMIT fill to happen()
|
||||
#how many consecutive trades with the fill price are necessary for LIMIT fill to happen in backtesting
|
||||
#0 - optimistic, every knot high will fill the order
|
||||
#N - N consecutive trades required
|
||||
#not impl.yet
|
||||
#minimum is 1
|
||||
FILL_CONS_TRADES_REQUIRED = 2
|
||||
#during trade execution logs X-surrounding trades of the one that triggers the fill
|
||||
FILL_LOG_SURROUNDING_TRADES = 10
|
||||
#fill condition for limit order
|
||||
BT_FILL_CONS_TRADES_REQUIRED = 2
|
||||
#during bt trade execution logs X-surrounding trades of the one that triggers the fill
|
||||
BT_FILL_LOG_SURROUNDING_TRADES = 10
|
||||
#fill condition for limit order in bt
|
||||
# fast - price has to be equal or bigger <=
|
||||
# slow - price has to be bigger <
|
||||
FILL_CONDITION_BUY_LIMIT = FillCondition.FAST
|
||||
FILL_CONDITION_SELL_LIMIT = FillCondition.FAST
|
||||
BT_FILL_CONDITION_BUY_LIMIT = FillCondition.FAST
|
||||
BT_FILL_CONDITION_SELL_LIMIT = FillCondition.FAST
|
||||
#no print in console
|
||||
QUIET_MODE = False
|
||||
QUIET_MODE = True
|
||||
#backend counter of api requests
|
||||
COUNT_API_REQUESTS = False
|
||||
#stratvars that cannot be changed in gui
|
||||
|
||||
Reference in New Issue
Block a user