skyffire 6 сар өмнө
commit
b3b0cf6d02

+ 4 - 0
.gitignore

@@ -0,0 +1,4 @@
+/target
+.idea
+Cargo.lock
+Config.json

+ 8 - 0
Cargo.toml

@@ -0,0 +1,8 @@
+[package]
+name = "pin_trading_tool"
+version = "0.1.0"
+edition = "2021"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]

+ 0 - 0
Config.json.sample


+ 1 - 0
rust-toolchain

@@ -0,0 +1 @@
+1.81.0

+ 1 - 0
src/api/mod.rs

@@ -0,0 +1 @@
+mod web_api;

+ 0 - 0
src/api/web_api.rs


+ 0 - 0
src/config.rs


+ 0 - 0
src/data_manager.rs


+ 0 - 0
src/exchange/mexc_client.rs


+ 3 - 0
src/exchange/mod.rs

@@ -0,0 +1,3 @@
+mod types;
+mod mexc_client;
+mod ws_manager;

+ 0 - 0
src/exchange/types.rs


+ 0 - 0
src/exchange/ws_manager.rs


+ 13 - 0
src/main.rs

@@ -0,0 +1,13 @@
+mod config;
+mod models;
+mod data_manager;
+mod order_execution;
+mod state;
+mod utils;
+mod strategy;
+mod exchange;
+mod api;
+
+fn main() {
+    println!("Hello, world!");
+}

+ 0 - 0
src/models.rs


+ 0 - 0
src/order_execution.rs


+ 0 - 0
src/state.rs


+ 1 - 0
src/strategy/mod.rs

@@ -0,0 +1 @@
+mod pin_strategy;

+ 0 - 0
src/strategy/pin_strategy.rs


+ 0 - 0
src/utils/error.rs


+ 0 - 0
src/utils/log_setup.rs


+ 2 - 0
src/utils/mod.rs

@@ -0,0 +1,2 @@
+mod error;
+mod log_setup;