Example Table

DayAsset A PriceAsset B Price
1

40

40
2

50

30
3

60

20
4

70

10
5

80

20
6

90

30
7

80

40
8

60

50

Correlation Coefficient

-0.26