init
This commit is contained in:
24
monitor_coin_1min_1.py
Normal file
24
monitor_coin_1min_1.py
Normal file
@@ -0,0 +1,24 @@
|
||||
from config import KR_COINS, KR_COINS_1
|
||||
from monitor_coin_1min_base import LiveOneMinuteStrategy
|
||||
|
||||
|
||||
class OneMinuteMonitorGroup1(LiveOneMinuteStrategy):
|
||||
"""KR_COINS_1 그룹 대상 1분봉 실전 매매 모니터."""
|
||||
|
||||
def __init__(self) -> None:
|
||||
coins = {symbol: KR_COINS[symbol] for symbol in KR_COINS_1.keys()}
|
||||
super().__init__(
|
||||
coins=coins,
|
||||
cooldown_file="./resources/coins_buy_time_1min_1.json",
|
||||
position_file="./resources/coins_positions_1min_1.json",
|
||||
entry_max_len=3,
|
||||
grid_limit=4,
|
||||
random_trials=4,
|
||||
sleep_seconds=0.5,
|
||||
max_order_krw=200_000,
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
OneMinuteMonitorGroup1().run_schedule(interval_seconds=30)
|
||||
|
||||
Reference in New Issue
Block a user