sell or buy a stock at a specific time

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #212113 quote
    ropika33ropika33
    Participant
    New

    Hello,

    Maybe you already answered to my following question somewhere in forum. Yet I didn’t find any answer.

    I would like to know how it is possible to automatically buy or/and sell a stock at a very precise time. For instance, I would like to order 100 shares of APPL at 07:20 am and sell it with a 0.50% TP, or at 08:00 am…

    Is it possible? If yes, how?

    Thank you for your help.

    #212117 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go:

    If time = 072000 then
       Buy 100 shares at Market
       Set Target %profit 0.5
    Endif
    If time = 080000 then
       Sell at Market
    Endif
    Midlanddave and ropika33 thanked this post
    #212121 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Do not double post. Ask your question only once and only in one forum. All double posts will be deleted anyway so posting the same question multiple times will just be wasting your own time and will not get you an answer any quicker. Double posting just creates confusion in the forums.

    Thanks šŸ™‚

    ropika33 thanked this post
    #212198 quote
    ropika33ropika33
    Participant
    New

    Thank you so much Roberto!

    Where can I find a complete PDF documentation with all instructions used to program online please?

    #212242 quote
    robertogozzirobertogozzi
    Moderator
    Legend
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTimeā„¢ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

sell or buy a stock at a specific time


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
ropika33 @ropika33 Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by robertogozzirobertogozzi
3 years, 6 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 03/26/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...