Skip to content

Commit a37ed6c

Browse files
authored
Update index.md
1 parent 466049f commit a37ed6c

File tree

1 file changed

+1
-3
lines changed
  • docs/04_visualizations/3-1-klinecharts

1 file changed

+1
-3
lines changed

docs/04_visualizations/3-1-klinecharts/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ K 线图适用于展示金融市场的价格变动情况,特别适用于分析
2626
### 数据示例
2727

2828
```py
29-
data = query("select * from derive.f_daily_quotes WHERE product_name = '螺纹钢' and contract = 'RB2501' ")
30-
31-
return data.sort_values('day')
29+
select toDateTime(Time/1000) as Time, * from klines.spot_1d where Symbol = 'btc_usdt' and Exchange = 'Binance' order by Time limit 100
3230
```
3331

3432

0 commit comments

Comments
 (0)