Skip to content

Commit 2b458e4

Browse files
feat: minor improvements
1 parent 0662e0e commit 2b458e4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

protos/athena/athena_struct.proto

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import "google/protobuf/wrappers.proto";
55

66
package athena.v1;
77

8-
// Configuration
8+
// [message] Configuration
99
// Represents the configurations for the backtest.
1010
message Configuration {
1111
// Commission rate charged by the broker for each trade.
@@ -20,7 +20,7 @@ message Configuration {
2020
google.protobuf.BoolValue exclusive_orders = 5;
2121
}
2222

23-
// Order
23+
// [message] Order
2424
// Represents a single order data.
2525
message Order {
2626
// Order size (positive for long, negative for short).
@@ -39,7 +39,7 @@ message Order {
3939
string hash = 7;
4040
}
4141

42-
// Trade
42+
// [message] Trade
4343
// Represents a single trade data.
4444
message Trade {
4545
// Size for the assets.
@@ -60,7 +60,7 @@ message Trade {
6060
string hash = 8;
6161
}
6262

63-
// Statistics
63+
// [message] Statistics
6464
message Statistics {
6565
// The timestamp for when the backstart is started.
6666
google.protobuf.Timestamp start = 1;

protos/candlestick_struct.proto

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ message Signal {
3939
// Side: Buy or sell
4040
Side side = 4;
4141
// Take-profit price
42-
float take_profit = 6;
42+
float take_profit = 5;
4343
// Stop-loss price
44-
float stop_loss = 7;
44+
float stop_loss = 6;
4545
// Confidence percentage [0-1]
46-
float confidence = 5;
46+
float confidence = 7;
4747
}
File renamed without changes.

0 commit comments

Comments
 (0)