You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that you are on the develop branch and that everything is committed:
19
+
Check that you are on the `development` branch and that everything is committed:
19
20
```bash
20
21
git checkout development
21
22
git status
@@ -35,3 +36,16 @@ mvn gitflow:release-finish
35
36
* Close the corresponding [milestone in Github](https://github.com/cassandre-tech/cassandre-trading-bot/milestones?direction=asc&sort=due_date&state=open).
36
37
* Write and send a [substack post](https://cassandre.substack.com/publish?utm_source=menu).
37
38
* Update cassandre release number on production trading bots.
39
+
40
+
## Releases text
41
+
* English: "We've just released Cassandre 5.0.7, a Spring boot starter to Create and run your java crypto trading bot in minutes. Details here: URL"
42
+
* French: "Sortie de Cassandre 5.0.7, notre Spring Boot Starter qui permet de créer son propre bot de crypto-trading en quelques minutes. Les détails ici : URL"
43
+
44
+
## Tell the world
45
+
* Retrieve the news URL from [substack](https://cassandre.substack.com/).
46
+
* Publish on Cassandre Twitter (should be done by GitHub CI).
47
+
* Publish on Cassandre Discord (should be done by GitHub CI).
48
+
* Publish on my personal accounts (Facebook, Twitter & LinkedIn).
49
+
* Publish on [linuxfr](https://linuxfr.org/).
50
+
* Publish on [bitcointalk](https://bitcointalk.org/index.php?board=8.0).
Copy file name to clipboardExpand all lines: spring-boot-starter-api/spring-boot-starter-api-graphql/autoconfigure/src/main/java/tech/cassandre/trading/bot/api/graphql/data/OrderDataFetcher.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ public class OrderDataFetcher extends BaseDataFetcher {
30
30
publicfinalList<OrderDTO> orders() {
31
31
returnorderRepository.findAll()
32
32
.stream()
33
-
.map(orderMapper::mapToOrderDTO)
33
+
.map(ORDER_MAPPER::mapToOrderDTO)
34
34
.collect(Collectors.toList());
35
35
}
36
36
@@ -43,7 +43,7 @@ public final List<OrderDTO> orders() {
43
43
@DgsQuery
44
44
publicOrderDTOorder(@InputArgumentfinallongid) {
45
45
returnorderRepository.findById(id)
46
-
.map(orderMapper::mapToOrderDTO)
46
+
.map(ORDER_MAPPER::mapToOrderDTO)
47
47
.orElse(null);
48
48
}
49
49
@@ -56,7 +56,7 @@ public OrderDTO order(@InputArgument final long id) {
Copy file name to clipboardExpand all lines: spring-boot-starter-api/spring-boot-starter-api-graphql/autoconfigure/src/main/java/tech/cassandre/trading/bot/api/graphql/data/PositionDataFetcher.java
+6-6
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ public class PositionDataFetcher extends BaseDataFetcher {
32
32
publicfinalList<PositionDTO> positions() {
33
33
returnpositionRepository.findAll()
34
34
.stream()
35
-
.map(positionMapper::mapToPositionDTO)
35
+
.map(POSITION_MAPPER::mapToPositionDTO)
36
36
.collect(Collectors.toList());
37
37
}
38
38
@@ -45,7 +45,7 @@ public final List<PositionDTO> positions() {
Copy file name to clipboardExpand all lines: spring-boot-starter-api/spring-boot-starter-api-graphql/autoconfigure/src/main/java/tech/cassandre/trading/bot/api/graphql/data/StrategyDataFetcher.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ public class StrategyDataFetcher extends BaseDataFetcher {
30
30
publicfinalList<StrategyDTO> strategies() {
31
31
returnstrategyRepository.findAll()
32
32
.stream()
33
-
.map(strategyMapper::mapToStrategyDTO)
33
+
.map(STRATEGY_MAPPER::mapToStrategyDTO)
34
34
.collect(Collectors.toList());
35
35
}
36
36
@@ -43,7 +43,7 @@ public final List<StrategyDTO> strategies() {
Copy file name to clipboardExpand all lines: spring-boot-starter-api/spring-boot-starter-api-graphql/autoconfigure/src/main/java/tech/cassandre/trading/bot/api/graphql/data/TradeDataFetcher.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ public class TradeDataFetcher extends BaseDataFetcher {
30
30
publicfinalList<TradeDTO> trades() {
31
31
returntradeRepository.findAll()
32
32
.stream()
33
-
.map(tradeMapper::mapToTradeDTO)
33
+
.map(TRADE_MAPPER::mapToTradeDTO)
34
34
.collect(Collectors.toList());
35
35
}
36
36
@@ -43,7 +43,7 @@ public final List<TradeDTO> trades() {
Copy file name to clipboardExpand all lines: spring-boot-starter/autoconfigure/src/main/java/tech/cassandre/trading/bot/configuration/StrategiesAutoConfiguration.java
+4-4
Original file line number
Diff line number
Diff line change
@@ -238,8 +238,8 @@ public void configure() {
238
238
// positionService. Here we force the status recalculation, and we save it.
Copy file name to clipboardExpand all lines: spring-boot-starter/autoconfigure/src/main/java/tech/cassandre/trading/bot/service/ExchangeServiceXChangeImplementation.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ public Set<CurrencyPairDTO> getAvailableCurrencyPairs() {
Copy file name to clipboardExpand all lines: spring-boot-starter/autoconfigure/src/main/java/tech/cassandre/trading/bot/service/MarketServiceXChangeImplementation.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ public Optional<TickerDTO> getTicker(final CurrencyPairDTO currencyPair) {
44
44
bucket.asBlocking().consume(1);
45
45
46
46
logger.debug("Getting ticker for {} currency pair", currencyPair);
0 commit comments