Skip to content

Commit

Permalink
Features:
Browse files Browse the repository at this point in the history
	- OMS Transaction Order Display Flag (4)
	- OMS Transaction Iceberg Setting Shell (5, 6, 7)
	- OMS Transaction Iceberg Setting Delete (8)
	- Iceberg Below The Surface Ratio #1 (9, 10)
	- OMS Transaction Display Setting Shell (11, 12, 13)
	- OMS Transaction Display Setting Hide (14, 15)
	- Iceberg Below The Surface Ratio #2 (16, 17)
	- OMS Transaction Display Setting Constructor (18, 19, 20)
	- OMS Transaction Order Display Settings (21, 22, 23)
	- OMS Transaction Order Display Amount (24, 25, 26)
	- OMS Order Display Settings #1 (27, 28, 29)
	- OMS Order Display Settings #2 (30, 31, 32)
	- OMS Order Display Settings #3 (33, 34, 35)
	- OMS Order Display Settings #4 (36, 37, 38)
	- OMS Order Display Settings #5 (39, 40, 41)
	- OMS Order Display Settings #6 (42, 43, 44)
	- OMS Order Display Settings #7 (45, 46, 47)
	- OMS Order Display Settings #8 (48, 49, 50)
	- OMS Order Display Settings #9 (51, 52, 53)
	- OMS Order Display Settings #10 (54, 55, 56)
	- OMS Order Display Settings #11 (57, 58, 59)
	- OMS Order Display Settings #12 (60)


Bug Fixes/Re-organization:

	- Spline Stretch Multi Segment Sequence Modifier - Insert Cardinal Knot (1)
	- Spline Stretch Multi Segment Sequence Modifier - Insert Catmull Rom Knot (2, 3)

Samples:


IdeaDRIP:
  • Loading branch information
Lakshmik committed Jan 15, 2024
1 parent 30d940f commit 95defeb
Show file tree
Hide file tree
Showing 31 changed files with 656 additions and 82 deletions.
36 changes: 36 additions & 0 deletions ReleaseNotes/05_15_2023.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

Features:

- OMS Transaction Order Display Flag (4)
- OMS Transaction Iceberg Setting Shell (5, 6, 7)
- OMS Transaction Iceberg Setting Delete (8)
- Iceberg Below The Surface Ratio #1 (9, 10)
- OMS Transaction Display Setting Shell (11, 12, 13)
- OMS Transaction Display Setting Hide (14, 15)
- Iceberg Below The Surface Ratio #2 (16, 17)
- OMS Transaction Display Setting Constructor (18, 19, 20)
- OMS Transaction Order Display Settings (21, 22, 23)
- OMS Transaction Order Display Amount (24, 25, 26)
- OMS Order Display Settings #1 (27, 28, 29)
- OMS Order Display Settings #2 (30, 31, 32)
- OMS Order Display Settings #3 (33, 34, 35)
- OMS Order Display Settings #4 (36, 37, 38)
- OMS Order Display Settings #5 (39, 40, 41)
- OMS Order Display Settings #6 (42, 43, 44)
- OMS Order Display Settings #7 (45, 46, 47)
- OMS Order Display Settings #8 (48, 49, 50)
- OMS Order Display Settings #9 (51, 52, 53)
- OMS Order Display Settings #10 (54, 55, 56)
- OMS Order Display Settings #11 (57, 58, 59)
- OMS Order Display Settings #12 (60)


Bug Fixes/Re-organization:

- Spline Stretch Multi Segment Sequence Modifier - Insert Cardinal Knot (1)
- Spline Stretch Multi Segment Sequence Modifier - Insert Catmull Rom Knot (2, 3)

Samples:


IdeaDRIP:
Binary file modified ScheduleSheet.xlsx
Binary file not shown.
18 changes: 16 additions & 2 deletions src/main/java/org/drip/oms/switchable/StopOrder.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import org.drip.numerical.common.NumberUtil;
import org.drip.oms.depth.MontageL1Manager;
import org.drip.oms.exchange.CrossVenueMontageDigest;
import org.drip.oms.transaction.DisplaySettings;
import org.drip.oms.transaction.Order;
import org.drip.oms.transaction.OrderFillWholeSettings;
import org.drip.oms.transaction.OrderIssuer;
Expand Down Expand Up @@ -139,6 +140,7 @@ public class StopOrder
* @param size Order Size
* @param timeInForce Time-in-Force Settings
* @param fillWholeSettings Order Fill-Whole Settings
* @param displaySettings Order Display Settings
* @param switchPrice Switch-to-Market Price
*
* @return Standard Instance of Stop Order
Expand All @@ -151,6 +153,7 @@ public static final StopOrder Standard (
final double size,
final TimeInForce timeInForce,
final OrderFillWholeSettings fillWholeSettings,
final DisplaySettings displaySettings,
final double switchPrice)
{
try
Expand All @@ -164,6 +167,7 @@ public static final StopOrder Standard (
size,
timeInForce,
fillWholeSettings,
displaySettings,
switchPrice
);
}
Expand All @@ -183,6 +187,7 @@ public static final StopOrder Standard (
* @param size Order Size
* @param timeInForce Time-in-Force Settings
* @param fillWholeSettings Order Fill-Whole Settings
* @param displaySettings Order Display Settings
* @param switchPrice Switch-to-Market Price
*
* @return Instance of Buy Stop Order
Expand All @@ -194,6 +199,7 @@ public static final StopOrder Buy (
final double size,
final TimeInForce timeInForce,
final OrderFillWholeSettings fillWholeSettings,
final DisplaySettings displaySettings,
final double switchPrice)
{
try
Expand All @@ -207,6 +213,7 @@ public static final StopOrder Buy (
size,
timeInForce,
fillWholeSettings,
displaySettings,
switchPrice
);
}
Expand All @@ -226,6 +233,7 @@ public static final StopOrder Buy (
* @param size Order Size
* @param timeInForce Time-in-Force Settings
* @param fillWholeSettings Order Fill-Whole Settings
* @param displaySettings Order Display Settings
* @param switchPrice Switch-to-Market Price
*
* @return Instance of Sell Stop Order
Expand All @@ -237,6 +245,7 @@ public static final StopOrder Sell (
final double size,
final TimeInForce timeInForce,
final OrderFillWholeSettings fillWholeSettings,
final DisplaySettings displaySettings,
final double switchPrice)
{
try
Expand All @@ -250,6 +259,7 @@ public static final StopOrder Sell (
size,
timeInForce,
fillWholeSettings,
displaySettings,
switchPrice
);
}
Expand All @@ -272,6 +282,7 @@ public static final StopOrder Sell (
* @param size Order Size
* @param timeInForce Time-in-Force Settings
* @param fillWholeSettings Order Fill-Whole Settings
* @param displaySettings Order Display Settings
* @param switchPrice Switch-to-Market Price
*
* @throws Exception Thrown if the Inputs are Invalid
Expand All @@ -286,6 +297,7 @@ public StopOrder (
final double size,
final TimeInForce timeInForce,
final OrderFillWholeSettings fillWholeSettings,
final DisplaySettings displaySettings,
final double switchPrice)
throws Exception
{
Expand All @@ -298,7 +310,8 @@ public StopOrder (
side,
size,
timeInForce,
fillWholeSettings
fillWholeSettings,
displaySettings
);

if (!NumberUtil.IsValid (
Expand Down Expand Up @@ -370,7 +383,8 @@ public MarketOrder switchToMarket (
side(),
size(),
null,
null
null,
displaySettings()
);
} catch (Exception e) {
e.printStackTrace();
Expand Down
13 changes: 13 additions & 0 deletions src/main/java/org/drip/oms/switchable/StopOrderAON.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import java.util.Date;

import org.drip.oms.transaction.DisplaySettings;
import org.drip.oms.transaction.OrderFillWholeSettings;
import org.drip.oms.transaction.OrderIssuer;
import org.drip.oms.transaction.Side;
Expand Down Expand Up @@ -132,6 +133,7 @@ public class StopOrderAON
* @param size Order Size
* @param timeInForce Time-in-Force Settings
* @param fulfillTryLimit Fulfill Try Limit
* @param displaySettings Order Display Settings
* @param switchPrice Switch-to-Market Price
*
* @return Instance of All-or-None (AON) Stop Order
Expand All @@ -144,6 +146,7 @@ public static final StopOrderAON Standard (
final double size,
final TimeInForce timeInForce,
final int fulfillTryLimit,
final DisplaySettings displaySettings,
final double switchPrice)
{
try
Expand All @@ -157,6 +160,7 @@ public static final StopOrderAON Standard (
size,
timeInForce,
fulfillTryLimit,
displaySettings,
switchPrice
);
}
Expand All @@ -176,6 +180,7 @@ public static final StopOrderAON Standard (
* @param size Order Size
* @param timeInForce Time-in-Force Settings
* @param fulfillTryLimit Fulfill Try Limit
* @param displaySettings Order Display Settings
* @param switchPrice Switch-to-Market Price
*
* @return Instance of Buy All-or-None (AON) Stop Order
Expand All @@ -187,6 +192,7 @@ public static final StopOrderAON Buy (
final double size,
final TimeInForce timeInForce,
final int fulfillTryLimit,
final DisplaySettings displaySettings,
final double switchPrice)
{
try
Expand All @@ -200,6 +206,7 @@ public static final StopOrderAON Buy (
size,
timeInForce,
fulfillTryLimit,
displaySettings,
switchPrice
);
}
Expand All @@ -219,6 +226,7 @@ public static final StopOrderAON Buy (
* @param size Order Size
* @param timeInForce Time-in-Force Settings
* @param fulfillTryLimit Fulfill Try Limit
* @param displaySettings Order Display Settings
* @param switchPrice Switch-to-Market Price
*
* @return Instance of Buy All-or-None (AON) Stop Order
Expand All @@ -230,6 +238,7 @@ public static final StopOrderAON Sell (
final double size,
final TimeInForce timeInForce,
final int fulfillTryLimit,
final DisplaySettings displaySettings,
final double switchPrice)
{
try
Expand All @@ -243,6 +252,7 @@ public static final StopOrderAON Sell (
size,
timeInForce,
fulfillTryLimit,
displaySettings,
switchPrice
);
}
Expand All @@ -265,6 +275,7 @@ public static final StopOrderAON Sell (
* @param size Order Size
* @param timeInForce Time-in-Force Settings
* @param fulfillTryLimit Fulfill Try Limit
* @param displaySettings Order Display Settings
* @param switchPrice Switch-to-Market Price
*
* @throws Exception Thrown if the Inputs are Invalid
Expand All @@ -279,6 +290,7 @@ public StopOrderAON (
final double size,
final TimeInForce timeInForce,
final int fulfillTryLimit,
final DisplaySettings displaySettings,
final double switchPrice)
throws Exception
{
Expand All @@ -293,6 +305,7 @@ public StopOrderAON (
OrderFillWholeSettings.AllOrNone (
fulfillTryLimit
),
displaySettings,
switchPrice
);
}
Expand Down
13 changes: 13 additions & 0 deletions src/main/java/org/drip/oms/switchable/StopOrderATC.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import java.util.Date;

import org.drip.oms.transaction.DisplaySettings;
import org.drip.oms.transaction.OrderFillWholeSettings;
import org.drip.oms.transaction.OrderIssuer;
import org.drip.oms.transaction.Side;
Expand Down Expand Up @@ -131,6 +132,7 @@ public class StopOrderATC
* @param side Order Side
* @param size Order Size
* @param fillWholeSettings Order Fill-Whole Settings
* @param displaySettings Order Display Settings
* @param switchPrice Switch-to-Market Price
*
* @return Standard Instance of At-The-Close (ATC) Stop Order
Expand All @@ -142,6 +144,7 @@ public static final StopOrderATC Standard (
final Side side,
final double size,
final OrderFillWholeSettings fillWholeSettings,
final DisplaySettings displaySettings,
final double switchPrice)
{
try
Expand All @@ -154,6 +157,7 @@ public static final StopOrderATC Standard (
side,
size,
fillWholeSettings,
displaySettings,
switchPrice
);
}
Expand All @@ -172,6 +176,7 @@ public static final StopOrderATC Standard (
* @param ticker Security Identifier/Ticker
* @param size Order Size
* @param fillWholeSettings Order Fill-Whole Settings
* @param displaySettings Order Display Settings
* @param switchPrice Switch-to-Market Price
*
* @return Standard Instance of Buy At-The-Close (ATC) Limit Order
Expand All @@ -182,6 +187,7 @@ public static final StopOrderATC Buy (
final String ticker,
final double size,
final OrderFillWholeSettings fillWholeSettings,
final DisplaySettings displaySettings,
final double switchPrice)
{
try
Expand All @@ -194,6 +200,7 @@ public static final StopOrderATC Buy (
Side.Buy(),
size,
fillWholeSettings,
displaySettings,
switchPrice
);
}
Expand All @@ -212,6 +219,7 @@ public static final StopOrderATC Buy (
* @param ticker Security Identifier/Ticker
* @param size Order Size
* @param fillWholeSettings Order Fill-Whole Settings
* @param displaySettings Order Display Settings
* @param switchPrice Switch-to-Market Price
*
* @return Standard Instance of Sell At-The-Close (ATC) Limit Order
Expand All @@ -222,6 +230,7 @@ public static final StopOrderATC Sell (
final String ticker,
final double size,
final OrderFillWholeSettings fillWholeSettings,
final DisplaySettings displaySettings,
final double switchPrice)
{
try
Expand All @@ -234,6 +243,7 @@ public static final StopOrderATC Sell (
Side.Sell(),
size,
fillWholeSettings,
displaySettings,
switchPrice
);
}
Expand All @@ -255,6 +265,7 @@ public static final StopOrderATC Sell (
* @param side Order Side
* @param size Order Size
* @param fillWholeSettings Order Fill-Whole Settings
* @param displaySettings Order Display Settings
* @param switchPrice Switch-to-Market Price
*
* @throws Exception Thrown if the Inputs are Invalid
Expand All @@ -268,6 +279,7 @@ public StopOrderATC (
final Side side,
final double size,
final OrderFillWholeSettings fillWholeSettings,
final DisplaySettings displaySettings,
final double switchPrice)
throws Exception
{
Expand All @@ -280,6 +292,7 @@ public StopOrderATC (
size,
TimeInForce.CreateMarketClose(),
fillWholeSettings,
displaySettings,
switchPrice
);
}
Expand Down
Loading

0 comments on commit 95defeb

Please sign in to comment.