closing one position when theres more than one opened

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #162395 quote
    kevin12345
    Participant
    Average

    hi,

    if i have more than one position in the market and i want to close a specific position, how do i do that?

    #162398 quote
    robertogozzi
    Moderator
    Master

    You cannot close a specific position, just one position (exit 1 Long position instead of exiting all positions):

    SELL 1 contract AT Market //instead of SELL AT Market
    #162403 quote
    kevin12345
    Participant
    Average

    if i have 4 long positions and i sell 1 of them, which one does it sell? most recent or first one that was opened?

    #162407 quote
    robertogozzi
    Moderator
    Master

    Good question…. I don’t know, but I guess ProOrder’s logic should be to close the most profitable one!

    #162409 quote
    GraHal
    Participant
    Master

    In my experience when manual trading, the position that gets closed first is the oldest position!

    If the oldest position happens to be the biggest loser then tough … that is what gets closed!

    Easy to test out on Demo in Auto-Trading (with a trial / quickie code) … be sure to let us know your finding please?

    #162435 quote
    Nicolas
    Keymaster
    Master

    Closing position is FIFO (First In First Out), so it is always the oldest order that is closed first.

    robertogozzi and GraHal thanked this post
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

closing one position when theres more than one opened


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
kevin12345 @kevin12345 Participant
Summary

This topic contains 5 replies,
has 4 voices, and was last updated by Nicolas
5 years ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 02/23/2021
Status: Active
Attachments: No files
Logo Logo
Loading...