REDI Order Entry: Formulating Commissions

Hello Community,

This is related to REDI API Python on Windows, wind32com.

(i) Is there a way to preset commissions in a REDI.Order such as o.Commissions?

If not,

(ii) Is there a way to formulate Commissions in REDI, whether as part of a Ticket or as a Doneaway entry to complement a "specific order/trade".

(iii) While we anticipate extracting Commissions under Addwatch after the trades are executed, is there a function returning the total liquidity available for trades as each Order is submitted/executed.

Thank you.

Berat



Tagged:

Best Answer

  • @beratp1

    Thanks for reaching out to us.

    I checked the REDI EMS API Specification document and found that the commission property is available in the DONEAWAY class.

    1675660221233.png

    I can create the Doneaway object in Python.

    hOrder = win32com.client.Dispatch("REDI.Doneaway")

    I hope that this information is of help.

Answers

  • Thanks @Jirapongse, I believe the Doneaway entry is post execution.

    Staying on this topic, would the Commission entry result in a CashAdjustment (under Position Data) and what might be the way to extract the total Cash or Equity available for new trades post adjustments? I have not seen a Cash/Equity Balance field in the specifications. I have seen NetValue but not sure this represents the total NAV (of all Holdings).

    Thank you.