Summary Objective of the procedure Concerned persons Specify the ComTrader functionality Continuous Export to the Exchange Members EPEX SPOT Members implementing the Continuous Export Historical of the document (Update will be performed after any modification of the functionality) Historical of modifications Evolution Date Version Author Comments Creation 18.03.2015 V1.0 EPEX SPOT Creation Update 01.07.2016 V1.1 EPEX SPOT Update Update Update Current version is designated with grey background Related Documents Document Name File location
SUMMARY 1. Introduction... 4 2. Specification... 4 2.1 General... 4
1. Introduction ComTrader offers the possibility to the Exchange Members to continuously export their transactions concluded in EPEX SPOT Intraday via the functionality for further processing in their internal system. The present document specifies the functionality. 2. Specification 2.1 General The continuous export settings can be found in ComTrader via the settings menu in the tab export, by selecting the option. The page contains the following items: Field Turns the functionality on and off. Trade Selection My trades Only trades executed based on orders owned by the logged in user are written to the export file. Member trades All trades for the member of the logged in user are written to the export file. Filename Name and location of the continuous export file (editable).
Please note that the user must click on Apply or OK to apply the changes. 2.2 File writing If the continuous export functionality is switched on, it behaves as follow: The target file is deleted (if it exists already) and created again and all trades of the last 5 days are exported to it. A non-blocking read-only access to the export files is possible during the continuous export. New trades are appended to the file as they occur and existing trade records in the file are never modified or deleted, so the file content and size will keep increasing for as long as the ComTrader session is running and new trades are written to it. If an existing trade, which was already written to the file, is modified in the trading system, a new trade record with the changed attributes is appended at the end of the file. Example: If a trade is recalled, the file will contain 3 entries for the same trade: the first with status "ACTIVE" (active), the next with status "RecReq" (recall requested) and one with the status "ReGra" (recall granted). Please note that when the ComTrader gets started with the continuous export enabled, exactly the same happens. 2.3 Filename If no existing file is selected, a new file with a default filename according to the following rule is created: "{YYYY}-{MM}-{DD}-continuous-export.csv" with: YYYY - current year MM - current month DD - current day. Example: "2014-04-22-continuous-export.csv" Otherwise the specified filename is used. 2.4 File Format The continuous export file will always be in the same format, independent of any panel configurations. The file will contain a header row with the following information: OT {YYYY-MM-DD}, Example: "OT 2014-06-15"
Where Item OT {YYYY-MM-DD} constant string date of the file export The trade records inside the file will be arranged in semicolon separated columns with one trade per row. Note: The format of the values in the columns "Qty" and "Prc" are depending on the selected format in the settings section (see Error! Reference source not found. Error! Reference source not found.). Column Name Trader ID The User ID of the user who's order was matched in the trade Example / Valid Values Example: "TRD001" TSO The area of the order which was matched in the trade Valid values: "RTE", "ENBW", "EON", "RWE", "VE", "APG", ELIA, TTB or "SGD" EIC The EIC code of the area which was matched in the trade Valid values: "10YFR-RTE------C" "10YDE-ENBW-----N" "10YDE-EON------1" "10YDE-RWENET---I" "10YDE-VE-------2" "10YAT-APG------L" "10YCH-SWISSGRIDZ" "10YNL----------L" "10YBE----------2" B/S The order side of the order which was matched in the trade Valid values: "B" - for buy orders "S" - for sell orders Product Product of the contract which was matched in the trade Valid values: "Intraday_Power_D" "Continuous_Power_Base" "Continuous_Power_Peak" "Quarterly_Hour_Power" "Pre_Trade_Base_OTC" "Pre_Trade_Peak_OTC" "Hourly_Blocks" Contract Qty Prc Long name of the contract which was matched in the trade, which is comprised of: {delivery start date/time}- {delivery end date/time} Matched quantity (depending on the selected date format, see Error! Reference source not found. Error! Reference source not found.) Match price (depending on the selected date format, see Error! Reference source not found. Error! Reference source not found.) Example: "20140721 19:00-20140721 20:00" Example: "1,0" Example: "11,00" Curr Currency Valid values: EUR Act Account Valid values: "A" - Agent
Column Name Text The text of the order which was matched in the trade Example / Valid Values "P" - Proprietary State The status of the trade Valid values: "ACTIVE" - trade is neither... "RecReq" - Recall requested "RecGra" - Recall granted "Cancel" - Trade cancelled Order No The order number of the order which was matched in the trade Example: "123456" Trade No The trade number, a unique identifier for each trade Example: "123456" P/O The type of the trade Valid values: "P" - OTC trade "O" - Open trade Date/Time Date and time of trade execution Example: "22.07.2014 15:19:55" BG Balancing Group for which the order was entered which was matched in the trade Example: "TEST1-BG1------ X" Example The following is an example of a trade export file including trades which have been recalled and cancelled. OT 2015-04-08 Trader Id;TSO;EIC;B/S;Product;Contract;Qty;Prc;Curr;Act;Text;State;Order No;Trade No;P/O;Date/Time;BG TRD004;APG;10YAT-APG------L;S;Intraday_Power_D;20150408 14:00-20150408 15:00;74.0;50.00;EUR;P;;ACTIVE;101062736;10641628;O;08.04.2015 10:08:51;BG-CUTE-NEWCT--9 TRD004;EON;10YDE-EON------1;B;Intraday_Power_D;20150408 12:00-20150408 13:00;25.0;47.05;EUR;P;;ACTIVE;101062737;10641629;O;08.04.2015 10:08:57;BG-CUTE-NEWCT--9 TRD004;RTE;10YFR-RTE------C;S;Intraday_Power_D;20150408 14:00-20150408 15:00;98.0;45.05;EUR;P;;ACTIVE;101062738;10641630;O;08.04.2015 10:09:02;BG-CUTE-NEWCT--9 TRD004;SGD;10YCH-SWISSGRIDZ;B;Intraday_Power_D;20150408 16:00-20150408 17:00;59.0;65.00;EUR;P;;ACTIVE;101062739;10641631;O;08.04.2015 10:09:04;BG-CUTE-NEWCT--9 TRD004;EON;10YDE-EON------1;B;Intraday_Power_D;20150408 12:00-20150408 13:00;25.0;47.05;EUR;P;;RecReq;101062737;10641629;O;08.04.2015 10:08:57;BG-CUTE-NEWCT--9 TRD004;EON;10YDE-EON------1;B;Intraday_Power_D;20150408 12:00-20150408 13:00;25.0;47.05;EUR;P;;RecGra;101062737;10641629;O;08.04.2015 10:08:57;BG-CUTE-NEWCT--9 TRD004;SGD;10YCH-SWISSGRIDZ;B;Intraday_Power_D;20150408 16:00-20150408 17:00;59.0;65.00;EUR;P;;Cancel;101062739;10641631;O;08.04.2015 10:09:04;BG-CUTE-NEWCT--9