From 8fdab4a510942eec2ddbb02fb49bd126326158c8 Mon Sep 17 00:00:00 2001 From: Kevin Darby Date: Mon, 23 Sep 2019 12:47:48 -0400 Subject: [PATCH] note about expired securities in sod tests --- testing/manual/positions_and_fills/SOD.txt | 2 ++ testing/manual/positions_and_fills/SOD_timezone.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/testing/manual/positions_and_fills/SOD.txt b/testing/manual/positions_and_fills/SOD.txt index cd5c62572..3e5f9dfbd 100644 --- a/testing/manual/positions_and_fills/SOD.txt +++ b/testing/manual/positions_and_fills/SOD.txt @@ -3,6 +3,8 @@ rm ~/sparkdata/data/databases/fills/* rm ~/sparkdata/data/databases/orders/* and bounce your server. +BE SURE NOT TO PICK AN EXPIRED SECURITY, THOSE FILLS ARE FILTERED + 0. We will force fills across for 3 securities, across 2 accounts. a. Pick 2 futures and one exchange traded spread, all on different symbols b. Choose these securities such that there is market data (sim or cert) that you can get fills against (maybe bring up the market view and select securities from there). diff --git a/testing/manual/positions_and_fills/SOD_timezone.txt b/testing/manual/positions_and_fills/SOD_timezone.txt index 78b53ffef..fb2336615 100644 --- a/testing/manual/positions_and_fills/SOD_timezone.txt +++ b/testing/manual/positions_and_fills/SOD_timezone.txt @@ -12,6 +12,8 @@ ExchangeSim { 2. Clean up your fills database. Cross the market to buy a 10 lot future (any future). Lets say the fill time is 6:03:XX EST. Wait until 6:05 and do a 20 lot sell. +BE SURE NOT TO PICK AN EXPIRED SECURITY, THOSE FILLS ARE FILTERED + 3. Now we will make 6:05 as the SOD Time. Enter this in your spark.conf SODTime{