Skip to content

Commit 08aacf0

Browse files
committed
Merge branch 'release/5.0.7'
2 parents ec80c60 + 5062778 commit 08aacf0

File tree

78 files changed

+845
-247
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+845
-247
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
open_collective: cassandre-tech

.github/dependabot.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,17 @@ updates:
33
- package-ecosystem: maven
44
directory: "/"
55
schedule:
6-
interval: "weekly"
7-
day: "thursday"
6+
interval: "daily"
87
time: "18:00"
9-
timezone: Europe/Paris
10-
open-pull-requests-limit: 9
11-
target-branch: development
12-
13-
- package-ecosystem: maven
14-
directory: "/"
15-
schedule:
16-
interval: "weekly"
17-
day: "sunday"
18-
time: "18:00"
19-
timezone: Europe/Paris
8+
timezone: "Europe/Paris"
209
open-pull-requests-limit: 9
2110
target-branch: development
2211

2312
- package-ecosystem: npm
2413
directory: "/docs"
2514
schedule:
26-
interval: "weekly"
27-
day: "sunday"
15+
interval: "daily"
2816
time: "18:00"
29-
timezone: Europe/Paris
17+
timezone: "Europe/Paris"
3018
open-pull-requests-limit: 9
3119
target-branch: development

.github/workflows/branch-push-or-pull-request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
2828
# ================================================================================================================
2929
- name: Upload codacy coverage results
30+
continue-on-error: true
3031
run: |
3132
bash <(curl -Ls https://coverage.codacy.com/get.sh) report \
3233
--project-token ${{ secrets.CODACY_API_TOKEN }} \

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: CodeQL analysis
22

33
on:
44
schedule:
5+
- cron: '0 18 * * MON'
56
- cron: '0 18 * * THU'
67
- cron: '0 18 * * SUN'
78

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Integration tests
22

33
on:
44
schedule:
5+
- cron: '0 18 * * MON'
56
- cron: '0 18 * * THU'
67
- cron: '0 18 * * SUN'
78

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
<img src="https://api.codacy.com/project/badge/Grade/f26dc41008a64bb18dcd404b46b69fc8"
2727
alt="Cassandre trading bot on codacy" />
2828
</a>
29+
<a href="https://www.codacy.com/gh/cassandre-tech/cassandre-trading-bot/dashboard?utm_source=github.com&utm_medium=referral&utm_content=cassandre-tech/cassandre-trading-bot&utm_campaign=Badge_Coverage">
30+
<img src="https://api.codacy.com/project/badge/Coverage/f26dc41008a64bb18dcd404b46b69fc8"
31+
alt="Cassandre trading bot on codacy" />
32+
</a>
2933
<a href="https://github.com/cassandre-tech/cassandre-trading-bot/actions">
3034
<img src="https://github.com/cassandre-tech/cassandre-trading-bot/workflows/Continuous%20integration/badge.svg"
3135
alt="Cassandre trading bot continuous integration" />

docs/docs/.vuepress/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ export default defineUserConfig<DefaultThemeOptions>({
180180
[
181181
'@vuepress/plugin-docsearch',
182182
{
183-
appId: 'BH4D9OD16A',
184-
apiKey: '94f09cface8844077df616a30863e73a',
183+
appId: 'Z5EV5Y49BO',
184+
apiKey: '92c15c16c728a530fc095a798081e674',
185185
indexName: 'cassandre'
186186
},
187187
],

docs/docs/ressources/books.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
lang: en-US
33
title: Books
4-
description: Interesting books on crypto, trading and bots
4+
description: Interesting books on crypto, open source, trading and bots
55
---
66
# Books
77

@@ -12,3 +12,5 @@ description: Interesting books on crypto, trading and bots
1212
* I bought [Building Trading Bots Using Java](https://amzn.to/33PyJoW) to understand how to build a trading bot from scratch.
1313
* To create an efficient bot, I decided to build it as a Reactive application and to learn it, I bought [Hands-On Reactive Programming in Spring 5](https://amzn.to/36u6qP8) and [Hands-On Reactive Programming with Reactor](https://amzn.to/2NeW0uT).
1414

15+
## Open Source
16+
* A good book to understand how an Open Source project works and how things are evolving: [Working in Public: The Making and Maintenance of Open Source Software](https://amzn.to/3HSjgcU).

docs/docs/ressources/how-tos/how-to-create-a-release.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ You must be using `ssh` and not `https`. To switch to `ssh`, type :
1515
git remote set-url origin git@github.com:cassandre-tech/cassandre-trading-bot.git
1616
```
1717

18-
Start the release with :
18+
Check that you are on the develop branch and that everything is committed:
19+
```bash
20+
git checkout development
21+
git status
22+
```
23+
24+
Start the release with:
1925
```bash
2026
mvn gitflow:release-start
2127
```
@@ -28,3 +34,4 @@ mvn gitflow:release-finish
2834
## Update
2935
* Close the corresponding [milestone in Github](https://github.com/cassandre-tech/cassandre-trading-bot/milestones?direction=asc&sort=due_date&state=open).
3036
* Write and send a [substack post](https://cassandre.substack.com/publish?utm_source=menu).
37+
* Update cassandre release number on production trading bots.

docs/docs/ressources/how-tos/how-to-fix-common-problems.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: How to fix common Cassandre problems
55
---
66
# How to fix common Cassandre problems
77

8-
## Your strategies specifies a trading account that doesn't exist
8+
## Your strategies specify a trading account that doesn't exist
99
First thing to check: your configuration. If you are connecting to a real exchange (not a sandbox) with your real credentials, you must have those parameters to `false` in your `application.properties`:
1010

1111
```properties
@@ -36,4 +36,18 @@ On Binance, you should not ask for data too often, or you will get a `Way too mu
3636
```properties
3737
cassandre.trading.bot.exchange.rates.account=PT30S
3838
cassandre.trading.bot.exchange.rates.ticker=PT30S
39-
cassandre.trading.bot.exchange.rates.trade=PT30S
39+
cassandre.trading.bot.exchange.rates.trade=PT30S
40+
```
41+
42+
## Requested bean is currently in creation: Is there an unresolvable circular reference?
43+
When you have this error message on startup:
44+
```
45+
̀Unknown configuration error: Error creating bean with name 'tech.cassandre.trading.bot.configuration.ExchangeAutoConfiguration': Requested bean is currently in creation: Is there an unresolvable circular reference?
46+
```
47+
48+
Since Spring boot 2.6.0, circular references are prohibited by default and before Cassandre 5.0.7, we had an error circular references we did not notice. So, if you are using a spring boot 2.6.0, you have to use a Cassandre release superior to 5.0.7.
49+
50+
## Kucoin - Your strategies specifies a trading account that doesn't exist
51+
You have assets on your account, and `getTradeAccount(Set<AccountDTO> accounts)` is implemented but when your bot is starting, you get the following error `Your strategies specifies a trading account that doesn't exist`.
52+
53+
You can try this solution: [https://github.com/cassandre-tech/cassandre-trading-bot/issues/786#issuecomment-999503117](https://github.com/cassandre-tech/cassandre-trading-bot/issues/786#issuecomment-999503117).

0 commit comments

Comments
 (0)