Skip to main content

CurateClick

github.com favicon

financial_indicators

A Rust library for financial technical analysis, supporting cryptocurrencies and stock markets. It includes popular indicators like MA, EMA, MACD, KDJ, RSI, Bollinger Bands, ATR, OBV, and VWAP.

Check out financial_indicators on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

financial_indicators 是一个用 Rust 编写的金融技术指标库,适用于加密货币和股票等金融市场的技术分析。该库涵盖了主流的趋势、动量、波动率、成交量等多种常用指标,包括但不限于 1. MA2. EMA3. MACD4. KDJ5. RSI6. Bollinger Bands7. ATR8. OBV9. VWAP 10. ...## install shcargo add financial_indicators## examplerustuse financial_indicators::kdj::KDJ;fn main() { let highs = vec![11.0, 12.0, 13.0, 14.0, 15.0, 16.0]; let lows = vec![10.0, 9.0, 8.0, 7.0, 6.0, 5.0]; let closes = vec![10.5, 11.0, 12.0, 13.0, 14.0, 15.0]; let period = 3; let kdj_values = KDJ::new(&highs, &lows, &closes, period); println!("KDJ Values for the given period:"); for (i, kdj) in kdj_values.iter().enumerate() { println!( "Period {}: K: {:.2}, D: {:.2}, J: {:.2}", i + 1, kdj.k, kdj.d, kdj.j ); }}

Latest Weekly Picks

promptbuilder.cc favicon
Weekly Pick

Generate, optimize, test, and manage AI prompts in one place. Turn an idea into a ready-to-use prompt in seconds.

Prompt Builder
freqz.net favicon
Weekly Pick

Your Personal K-Style Vibe Photo Studio

Freqz
webleadr.com favicon
Weekly Pick

Find and contact web design leads and businesses without websites, like local dentists, effortlessly from any location in just a few clicks.

Webleadr

the art of having something to say

pretty-scale.com favicon
Weekly Pick

How Pretty Are You? Let AI Decide.

Pretty Scale
c2story.com favicon
Weekly Pick

Create Illustrated Stories with AI

C2story

Impromptu Speech Topics & Timer

Seedance 2.0: Multimodal AI video creator. Precisely direct characters and cameras to create production-ready, multi-shot cinematic stories in one click.