File size: 1,195 Bytes
0ff4d31 |
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 |
---
license: apache-2.0
tags:
- onnx
- flock
- dark-pool
- trading
- reinforcement-learning
---
# Flock.io Task 18: Dark Pool Trading Model
This is a neural network model trained for the Flock.io Task 18 - Dark Pool Trading.
## Model Details
- **Task**: Dark Pool Trading Prediction
- **Framework**: PyTorch → ONNX
- **Input**: 34 features (market state)
- **Output**: 1 value (predicted fill rate / action value)
- **Parameters**: ~1.78M (under 3M limit)
## Architecture
Multi-Layer Perceptron (MLP):
- Input: 34 features
- Hidden layers: 1024 → 1024 → 512 → 256 → 128
- Output: 1 value
- Activation: ReLU
- Normalization: BatchNorm
- Regularization: Dropout (0.2)
## Usage
```python
import onnxruntime as ort
import numpy as np
# Load the model
session = ort.InferenceSession("model.onnx")
# Prepare input (34 features)
input_data = np.random.randn(1, 34).astype(np.float32)
# Run inference
outputs = session.run(None, {"input": input_data})
prediction = outputs[0]
print(f"Prediction: {prediction}")
```
## Training
Trained on Flock.io Task 18 dataset:
- Training samples: 1200
- Validation samples: 400
- Best validation loss: ~0.001
## License
Apache 2.0
|