-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathCargo.toml
More file actions
105 lines (87 loc) · 2.68 KB
/
Cargo.toml
File metadata and controls
105 lines (87 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[package]
name = "rustalib"
version = "1.0.9"
edition = "2021"
description = "A library of technical indicators for financial analysis, similar to TA-Lib"
authors = ["Celsis Durham <durhamcelsis@gmail.com>"]
license = "MIT"
repository = "https://github.com/rustic-ml/RusTaLib"
# Add homepage, often same as repository if no separate project page
homepage = "https://github.com/rustic-ml/RusTaLib"
documentation = "https://docs.rs/rustalib"
readme = "README.md"
keywords = ["finance", "technical-analysis", "trading", "indicators", "stocks"]
# Add relevant categories for discoverability
categories = ["algorithms", "mathematics"]
# Add the 'exclude' field here
exclude = [
# Add the folder you want to exclude.
# Use a trailing slash '/' to ensure it's treated as a directory.
"examples/",
"target/",
"src/test/",
".gitignore",
"Cargo.lock",
"images_processed.png",
# You can add more patterns:
# "another_folder/",
# "*.log", # Exclude all .log files
]
[dependencies]
polars = { version = "0.52.0", features = ["lazy", "strings", "temporal", "rolling_window", "parquet", "dtype-categorical", "dtype-struct", "regex", "timezones"] }
chrono = "0.4.34"
thiserror = "2.0.11" # Consider updating if needed, check compatibility
ndarray = "0.17.2" # Consider updating if needed, check compatibility
serde = { version = "1.0", features = ["derive"] }
rand = "0.9.1"
[dev-dependencies]
approx = "0.5.1"
tempfile = "3.10.1"
ta-lib-in-rust = "1.0.8"
# General examples
[[example]]
name = "general_basic_indicators"
path = "examples/general/basic_indicators.rs"
# Stock market strategy examples
[[example]]
name = "stock_trend_following"
path = "examples/stock/trend_following.rs"
[[example]]
name = "stock_mean_reversion"
path = "examples/stock/mean_reversion.rs"
# Options trading strategy examples
[[example]]
name = "options_vertical_spreads"
path = "examples/options/vertical_spreads.rs"
[[example]]
name = "options_iron_condor"
path = "examples/options/iron_condor.rs"
# Basic indicators examples
[[example]]
name = "bollinger_bands_basic"
path = "examples/bollinger_bands_basic.rs"
[[example]]
name = "macd_basic"
path = "examples/macd_basic.rs"
[[example]]
name = "moving_averages_basic"
path = "examples/moving_averages_basic.rs"
[[example]]
name = "rsi_basic"
path = "examples/rsi_basic.rs"
[[example]]
name = "vwap_basic"
path = "examples/vwap_basic.rs"
[[example]]
name = "working_with_multi_stock_data"
path = "examples/working_with_multi_stock_data.rs"
[[example]]
name = "file_reading_example"
path = "examples/file_reading_example.rs"
[[example]]
name = "trend_adx_basic"
path = "examples/trend_adx_basic.rs"
[lib]
name = "rustalib"
path = "src/lib.rs"
doctest = false