ProOrder and Contracts with Decimals

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6367 quote
    LoeizLoeiz
    Participant
    New

    Good morning all

    Quick question: does ProOrder allow placing orders for a number of contracts with decimals ? If yes, how ?

    In more details: I’m trying to place orders (on IG through ProOrder) on a quantity of contracts that has decimals: e.g. 1.5 contracts or 1.75 contracts. Manually in IG, it works fine.

    Through ProOrder, when I enter the code “Buy 1.5 contracts at market”, ProOrder buys only 1 contract at market (not 1.5). “Buy 1.75 contracts at market” also buys 1 contracts (not 1.75). It seems ProOrder is rounding down contract numbers to the closest integer.

    Any way to solve this ?

    Many thanks,

    #6391 quote
    NicolasNicolas
    Keymaster
    Legend

    Hi Loeiz, it’s not possible.

    Trade protocol between the platform and the broker are limiting the contracts amount to a round number. It can’t have decimal.

    So you have to round it yourself to the closest amount round number you’d like to trade with the ROUND instruction.

Viewing 2 posts - 1 through 2 (of 2 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

ProOrder and Contracts with Decimals


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Loeiz @loeiz Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
10 years, 4 months ago.

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