Skip to content

Commit efdd388

Browse files
committed
fix wechat and bugs
1 parent f27aacb commit efdd388

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<a href="https://Y-Research-SBU.github.io/QuantAgent">
4242
<img src="https://img.shields.io/badge/Project-Website-blue?style=flat-square&logo=googlechrome" alt="Project Website">
4343
</a>
44-
<a href="https://github.com/Y-Research-SBU/QuantAgent/blob/main/assets/wechat_1116.jpg">
44+
<a href="https://github.com/Y-Research-SBU/QuantAgent/blob/main/assets/wechat_1125.jpg">
4545
<img src="https://img.shields.io/badge/WeChat-Group-green?style=flat-square&logo=wechat" alt="WeChat Group">
4646
</a>
4747
<a href="https://discord.gg/t9nQ6VXQ">

README_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<a href="https://Y-Research-SBU.github.io/QuantAgent">
4343
<img src="https://img.shields.io/badge/Project-Website-blue?style=flat-square&logo=googlechrome" alt="Project Website">
4444
</a>
45-
<a href="https://github.com/Y-Research-SBU/QuantAgent/blob/main/assets/wechat_1116.jpg">
45+
<a href="https://github.com/Y-Research-SBU/QuantAgent/blob/main/assets/wechat_1125.jpg">
4646
<img src="https://img.shields.io/badge/WeChat-Group-green?style=flat-square&logo=wechat" alt="WeChat Group">
4747
</a>
4848
<a href="https://discord.gg/t9nQ6VXQ">

assets/wechat_1116.jpg

-116 KB
Binary file not shown.

assets/wechat_1125.jpg

114 KB
Loading

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ <h1 class="main-title fade-in-up">
831831
<i class="fab fa-github"></i>
832832
Code
833833
</a>
834-
<a href="https://raw.githubusercontent.com/Y-Research-SBU/QuantAgent/main/assets/wechat_1116.jpg?update=1" class="action-btn code-btn">
834+
<a href="https://raw.githubusercontent.com/Y-Research-SBU/QuantAgent/main/assets/wechat_1125.jpg?update=1" class="action-btn code-btn">
835835
<i class="fab fa-weixin"></i>
836836
WeChat
837837
</a>

web_interface.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,12 @@ def run_analysis(
243243
print(f"DataFrame shape: {df.shape}")
244244

245245
# Prepare data for analysis
246-
if len(df) > 49:
247-
df_slice = df.tail(49).iloc[:-3]
248-
else:
249-
df_slice = df.tail(45)
246+
# if len(df) > 49:
247+
# df_slice = df.tail(49).iloc[:-3]
248+
# else:
249+
# df_slice = df.tail(45)
250+
251+
df_slice = df.tail(45)
250252

251253
# Ensure DataFrame has the expected structure
252254
required_columns = ["Datetime", "Open", "High", "Low", "Close"]

0 commit comments

Comments
 (0)