From 280491e31361a646340d304f4c304516ec2fbe8b Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Tue, 25 Mar 2025 13:49:59 +0200 Subject: [PATCH] wip host --- .gitignore | 1 + DATA_SOLUTION.md | 0 NN/_notes.md | 7 ------- generate_trading_data.py | 0 online_learning_test.log | 0 test_online_learning.py | 0 train_with_data.py | 0 train_with_synthetic.py | 0 8 files changed, 1 insertion(+), 7 deletions(-) create mode 100644 DATA_SOLUTION.md create mode 100644 generate_trading_data.py create mode 100644 online_learning_test.log create mode 100644 test_online_learning.py create mode 100644 train_with_data.py create mode 100644 train_with_synthetic.py diff --git a/.gitignore b/.gitignore index 02bbac2..216a0e9 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ models/trading_agent_final.pt.backup *.pt *.backup logs/ +trade_logs/ diff --git a/DATA_SOLUTION.md b/DATA_SOLUTION.md new file mode 100644 index 0000000..e69de29 diff --git a/NN/_notes.md b/NN/_notes.md index 0d1b1fa..fb30448 100644 --- a/NN/_notes.md +++ b/NN/_notes.md @@ -2,13 +2,6 @@ great. realtime.py works. now let's examine and contunue with our 500m NN in a create a new main file in the NN folder for our new MoE model. we'll use one main NN module that will orchestrate data flows. our CNN module should have training and inference pipelines implemented internally, but the orchestrator will get the realtime data and forward it. use a common interface. another module later will be Transformer module that will take as input raw data from the latest hidden layers of the CNN where high end features are learned as well as the output, which will be BUY/HOLD/SELL signals as well as key support/resistance trend lines -# setup: -setup_env.bat - -# run: -python -m NN.start_tensorboard --logdir=NN/models/saved/logs -# and -run_nn.py / run_nn_in_conda.bat / run_pytorch_nn.bat # Train a CNN model python -m NN.main --mode train --symbol BTC/USDT --timeframes 1h 4h --model-type cnn --epochs 100 diff --git a/generate_trading_data.py b/generate_trading_data.py new file mode 100644 index 0000000..e69de29 diff --git a/online_learning_test.log b/online_learning_test.log new file mode 100644 index 0000000..e69de29 diff --git a/test_online_learning.py b/test_online_learning.py new file mode 100644 index 0000000..e69de29 diff --git a/train_with_data.py b/train_with_data.py new file mode 100644 index 0000000..e69de29 diff --git a/train_with_synthetic.py b/train_with_synthetic.py new file mode 100644 index 0000000..e69de29