Margin gain/loss

The perpetual futures trades I did are classified as margin gain and margin loss. Do these trades go on the 8949 as capital gains or are they taxed as income in the USA?

Here is the breakdown of classifications: Crypto Tax Classifications : Accointing AG
Here is how you are taxed per classification: You searched for classifications - The Hub on