swap calculation

why the swap is calculated in reverse, the tested EURUSD SWAP in the example is Long -10, Short 3.4


the tests show that if such a swap is used in a long transaction, the swap is positive and short is negative, the desire should be the other way around. if the swap is exchanged, it is: long 10 and short -3.4, then there are swap transactions much more similar to reality.

Attachments
long 10 short -34.png
(187.48 KiB)
long -10 short 34.png
(188.89 KiB)
swap1.png
(20.13 KiB)
  • Votes +2
  • Project StrategyQuant X
  • Type Bug
  • Status Duplicate
  • Priority Normal
  • Assignee None

History

Rr
#1

Partizanas

02.11.2022 10:02

Task created

b
#2

bentra

02.11.2022 13:38
E
#3

Emmanuel

04.11.2022 14:20
Voted for this task.
AA
#4

Alex

05.11.2022 04:31
Voted for this task.
TT
#5

Tamas

08.11.2022 08:23

Status changed from New to Duplicate


Votes: +2

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please