From 2ea415324f02a4165d97ae31b0ce8a1bd2575213 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Tue, 24 Jan 2023 17:03:59 +0900 Subject: [PATCH] init --- Bithumb_minute.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Bithumb_minute.py b/Bithumb_minute.py index ed77c5b..f9f0828 100644 --- a/Bithumb_minute.py +++ b/Bithumb_minute.py @@ -499,6 +499,13 @@ class Bithumb_minute(HTS): data1['sell'][i] = sell bsLine['sell'][i] = sell bsLine['sell_weight'][i] = 100 + + if data2['slow_k'][i] > 98 and data1['slow_k'][i] > 98: + sell = data1['close'][i] + data1['sell'][i] = sell + bsLine['sell'][i] = sell + bsLine['sell_weight'][i] = 100 + return bsLine def get_ohlcv(self, ticker, minute=5):