/FileExtraction/Java_unseen/cassandre-tech_cassandre-trading-bot/spring-boot-starter/autoconfigure/src/main/java/tech/cassandre/trading/bot/dto/position/PositionTypeDTO.java
package tech.cassandre.trading.bot.dto.position;

/**
 * Position type for {@link PositionDTO}.
 */
public enum PositionTypeDTO {

    /**
     * Long position is buying assets and selling them later for more.
     * If you are bullish (means you think that price of X share will rise) at that time you buy some amount of Share is called taking Long Position in share.
     */
    LONG,

    /**
     * Short position is selling assets and buying back later for less.
     * If you are bearish (means you think that price of xyz share are going to fall) at that time you sell some amount of share is called taking Short Position in share.
     */
    SHORT

}
