{"transactions":[{"id":3842231,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Stock Appreciation Right","published_at":"2018-08-16T18:36:53.000Z","date":"2018-08-15","kind":"exercise","acquired":false,"shares":3276,"price":0,"value":0.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 Exercise plan adopted by the reporting person on February 23, 2018."}],"balance_after":3276,"derivative":{"exercise_price":5.2975,"exercise_date":"2010-07-20","expiration_date":"2020-07-20","underlying":"Common Stock","underlying_shares":3276},"source":{"system":"sec-edgar","filing":"0001127602-18-025557","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218025557/form4.xml","form_type":"4"}},{"id":3842230,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-08-16T18:36:53.000Z","date":"2018-08-16","kind":"sale","acquired":false,"shares":3051,"price":77.3927,"value":236125.1277,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 23, 2018."},{"field":"price","element":"transactionPricePerShare","label":"F3","text":"The price reported in Column 4 is a weighted average price.  These shares were sold in multiple transactions at prices ranging from $77.00 to $77.59, inclusive.  The reporting person undertakes to provide Trex Company, Inc., any security holder of Trex Company, Inc., or the staff of the Securities and Exchange Commission, upon request, full information regarding the number of shares sold at each separate price within the ranges set forth in Footnote (3) to this Form 4."}],"balance_after":20966,"source":{"system":"sec-edgar","filing":"0001127602-18-025557","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218025557/form4.xml","form_type":"4"}},{"id":3842229,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-08-16T18:36:53.000Z","date":"2018-08-15","kind":"disposition_to_issuer","acquired":false,"shares":225,"price":77.42,"value":17419.5,"ownership":{"direct":true},"balance_after":24017,"source":{"system":"sec-edgar","filing":"0001127602-18-025557","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218025557/form4.xml","form_type":"4"}},{"id":3842228,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-08-16T18:36:53.000Z","date":"2018-08-15","kind":"exercise","acquired":true,"shares":3276,"price":5.2975,"value":17354.61,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 Exercise plan adopted by the reporting person on February 23, 2018."}],"balance_after":24242,"source":{"system":"sec-edgar","filing":"0001127602-18-025557","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218025557/form4.xml","form_type":"4"}},{"id":3861035,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-07-26T19:42:21.000Z","date":"2018-07-25","kind":"grant","acquired":true,"shares":894,"price":65.37,"value":58440.78,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted award vested upon grant date."},{"field":"balance_after","element":"sharesOwnedFollowingTransaction","label":"F2","text":"On June 18, 2018, the Company effectuated a two-for-one stock split to common shareholders of record on May 23,2018.  The amounts set forth in this Form 4 and all subsequent reports filed report the amounts adjusted to reflect the stock split."}],"balance_after":20966,"source":{"system":"sec-edgar","filing":"0001127602-18-023890","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218023890/form4.xml","form_type":"4"}},{"id":3928878,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Stock Appreciation Right","published_at":"2018-05-18T01:48:37.000Z","date":"2018-05-16","kind":"exercise","acquired":false,"shares":1638,"price":0,"value":0.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 Exercise plan adopted by the reporting person on February 23, 2018."}],"balance_after":3276,"derivative":{"exercise_price":10.595,"exercise_date":"2010-07-20","expiration_date":"2020-07-20","underlying":"Common Stock","underlying_shares":1638},"source":{"system":"sec-edgar","filing":"0001127602-18-018012","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218018012/form4.xml","form_type":"4"}},{"id":3928877,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-05-18T01:48:37.000Z","date":"2018-05-17","kind":"sale","acquired":false,"shares":1481,"price":111.4956,"value":165124.9836,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 23, 2018."},{"field":"price","element":"transactionPricePerShare","label":"F3","text":"The price reported in Column 4 is a weighted average price.  These shares were sold in multiple transactions ranging from $111.23 to $111.85, inclusive.  The reporting person undertakes to provide Trex Company, Inc., any security holder of Trex Company, Inc., or the staff of the Securities and Exchange Commission, upon request, full information regarding the number of shares sold at each separate price within the ranges set forth in Footnote (3) to this Form 4."}],"balance_after":10036,"source":{"system":"sec-edgar","filing":"0001127602-18-018012","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218018012/form4.xml","form_type":"4"}},{"id":3928876,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-05-18T01:48:37.000Z","date":"2018-05-16","kind":"disposition_to_issuer","acquired":false,"shares":157,"price":111.23,"value":17463.11,"ownership":{"direct":true},"balance_after":11517,"source":{"system":"sec-edgar","filing":"0001127602-18-018012","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218018012/form4.xml","form_type":"4"}},{"id":3928875,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-05-18T01:48:37.000Z","date":"2018-05-16","kind":"exercise","acquired":true,"shares":1638,"price":10.595,"value":17354.61,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 Exercise plan adopted by the reporting person on February 23, 2018."}],"balance_after":11674,"source":{"system":"sec-edgar","filing":"0001127602-18-018012","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218018012/form4.xml","form_type":"4"}},{"id":4162600,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Stock Appreciation Right","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-14","kind":"exercise","acquired":false,"shares":2321,"price":0,"value":0.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 Exercise plan adopted by the reporting person on February 22, 2017."}],"balance_after":0,"derivative":{"exercise_price":7.43,"exercise_date":"2009-07-21","expiration_date":"2019-07-21","underlying":"Common Stock","underlying_shares":2321},"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":22,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162599,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"gift","acquired":false,"shares":283,"price":0,"value":0.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"Represents in-kind charitable gift of common stock."}],"balance_after":10036,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":21,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162598,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":1,"price":105.85,"value":105.85,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10319,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":20,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162597,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":99,"price":105.82,"value":10476.18,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10320,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":19,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162596,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":1,"price":105.8,"value":105.8,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10419,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":18,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162595,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":100,"price":105.79,"value":10579.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10420,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":17,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162594,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":100,"price":105.77,"value":10577.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10520,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":16,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162593,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":99,"price":105.76,"value":10470.24,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10620,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":15,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162592,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":200,"price":105.73,"value":21146.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10719,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":14,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162591,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":258,"price":105.65,"value":27257.7,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10919,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":13,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162590,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":100,"price":105.5,"value":10550.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":11177,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":12,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162589,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":400,"price":105.48,"value":42192.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":11277,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":11,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162588,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":100,"price":105.46,"value":10546.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":11677,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":10,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162587,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":100,"price":105.38,"value":10538.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":11777,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":9,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162586,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":100,"price":105.37,"value":10537.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":11877,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":8,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162585,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":100,"price":105.33,"value":10533.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":11977,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":7,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162584,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":100,"price":105.28,"value":10528.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":12077,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162583,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":100,"price":105.22,"value":10522.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":12177,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162582,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":100,"price":105.2,"value":10520.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":12277,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162581,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-15","kind":"sale","acquired":false,"shares":100,"price":105.01,"value":10501.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":12377,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162580,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-14","kind":"disposition_to_issuer","acquired":false,"shares":163,"price":106.3,"value":17326.9,"ownership":{"direct":true},"balance_after":12477,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4162579,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-11-15T21:39:32.000Z","date":"2017-11-14","kind":"exercise","acquired":true,"shares":2321,"price":7.43,"value":17245.03,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 Exercise plan adopted by the reporting person on February 22, 2017."}],"balance_after":12640,"source":{"system":"sec-edgar","filing":"0001127602-17-032195","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217032195/form4.xml","form_type":"4"}},{"id":4232853,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Stock Appreciation Right","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-15","kind":"exercise","acquired":false,"shares":2321,"price":0,"value":0.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 Exercise plan adopted by the reporting person on February 22, 2017."}],"balance_after":2321,"derivative":{"exercise_price":7.43,"exercise_date":"2009-07-21","expiration_date":"2019-07-21","underlying":"Common Stock","underlying_shares":2321},"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":15,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232852,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-16","kind":"sale","acquired":false,"shares":193,"price":75.89,"value":14646.77,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10319,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":14,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232851,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-16","kind":"sale","acquired":false,"shares":101,"price":75.85,"value":7660.85,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10512,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":13,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232850,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-16","kind":"sale","acquired":false,"shares":300,"price":75.82,"value":22746.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10613,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":12,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232849,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-16","kind":"sale","acquired":false,"shares":99,"price":75.81,"value":7505.19,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10913,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":11,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232848,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-16","kind":"sale","acquired":false,"shares":500,"price":75.8,"value":37900.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":11012,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":10,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232847,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-16","kind":"sale","acquired":false,"shares":100,"price":75.78,"value":7578.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":11512,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":9,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232846,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-16","kind":"sale","acquired":false,"shares":100,"price":75.77,"value":7577.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":11612,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":8,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232845,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-16","kind":"sale","acquired":false,"shares":100,"price":75.64,"value":7564.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":11712,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":7,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232844,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-16","kind":"sale","acquired":false,"shares":100,"price":75.5001,"value":7550.01,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":11812,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232843,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-16","kind":"sale","acquired":false,"shares":100,"price":75.4901,"value":7549.01,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":11912,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232842,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-16","kind":"sale","acquired":false,"shares":300,"price":75.49,"value":22647.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":12012,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232841,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-16","kind":"sale","acquired":false,"shares":100,"price":75.33,"value":7533.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":12312,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232840,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-15","kind":"disposition_to_issuer","acquired":false,"shares":228,"price":75.77,"value":17275.56,"ownership":{"direct":true},"balance_after":12412,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4232839,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-08-16T18:20:45.000Z","date":"2017-08-15","kind":"exercise","acquired":true,"shares":2321,"price":7.43,"value":17245.03,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 Exercise plan adopted by the reporting person on February 22, 2017."}],"balance_after":12640,"source":{"system":"sec-edgar","filing":"0001127602-17-025724","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217025724/form4.xml","form_type":"4"}},{"id":4250336,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-07-27T20:28:33.000Z","date":"2017-07-26","kind":"grant","acquired":true,"shares":923,"price":75.77,"value":69935.71,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit will vest on the first anniversary of the grant."},{"field":"balance_after","element":"sharesOwnedFollowingTransaction","label":"F2","text":"Includes the 923 restricted stock units as reported in this Form 4."}],"balance_after":10319,"source":{"system":"sec-edgar","filing":"0001127602-17-024245","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217024245/form4.xml","form_type":"4"}},{"id":4316369,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Stock Appreciation Right","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-16","kind":"exercise","acquired":false,"shares":2322,"price":0,"value":0.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 Exercise plan adopted by the reporting person on February 22, 2017."}],"balance_after":4642,"derivative":{"exercise_price":7.43,"exercise_date":"2009-07-21","expiration_date":"2019-07-21","underlying":"Common Stock","underlying_shares":2322},"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":18,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316368,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":257,"price":64.46,"value":16566.22,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":9396,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":17,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316367,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":100,"price":63.95,"value":6395.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":9653,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":16,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316366,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":100,"price":63.93,"value":6393.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":9753,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":15,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316365,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":100,"price":63.91,"value":6391.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":9853,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":14,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316364,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":100,"price":63.9,"value":6390.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":9953,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":13,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316363,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":100,"price":63.88,"value":6388.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10053,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":12,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316362,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":100,"price":63.85,"value":6385.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10153,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":11,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316361,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":100,"price":63.7801,"value":6378.01,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10253,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":10,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316360,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":100,"price":63.78,"value":6378.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10353,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":9,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316359,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":100,"price":63.7701,"value":6377.01,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10453,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":8,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316358,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":100,"price":63.75,"value":6375.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10553,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":7,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316357,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":100,"price":63.64,"value":6364.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10653,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316356,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":200,"price":63.62,"value":12724.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10753,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316355,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":300,"price":63.57,"value":19071.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":10953,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316354,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-17","kind":"sale","acquired":false,"shares":200,"price":63.41,"value":12682.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 22, 2017."}],"balance_after":11253,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316353,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-16","kind":"disposition_to_issuer","acquired":false,"shares":265,"price":65.33,"value":17312.45,"ownership":{"direct":true},"balance_after":11453,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4316352,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-05-17T20:03:53.000Z","date":"2017-05-16","kind":"exercise","acquired":true,"shares":2322,"price":7.43,"value":17252.46,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 Exercise plan adopted by the reporting person on February 22, 2017."}],"balance_after":11718,"source":{"system":"sec-edgar","filing":"0001127602-17-018469","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217018469/form4.xml","form_type":"4"}},{"id":4553368,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Stock Appreciation Right","published_at":"2016-11-16T20:53:28.000Z","date":"2016-11-15","kind":"exercise","acquired":false,"shares":1958,"price":0,"value":0.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 Exercise plan adopted by the reporting person on February 24, 2016."}],"balance_after":0,"derivative":{"exercise_price":5.305,"exercise_date":"2008-07-22","expiration_date":"2018-07-22","underlying":"Common Stock","underlying_shares":1958},"source":{"system":"sec-edgar","filing":"0001127602-16-067403","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":12,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760216067403/form4.xml","form_type":"4"}},{"id":4553367,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2016-11-16T20:53:28.000Z","date":"2016-11-16","kind":"sale","acquired":false,"shares":200,"price":66.55,"value":13310.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 24, 2016."}],"balance_after":9396,"source":{"system":"sec-edgar","filing":"0001127602-16-067403","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":11,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760216067403/form4.xml","form_type":"4"}},{"id":4553366,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2016-11-16T20:53:28.000Z","date":"2016-11-16","kind":"sale","acquired":false,"shares":200,"price":66.435,"value":13287.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 24, 2016."}],"balance_after":9596,"source":{"system":"sec-edgar","filing":"0001127602-16-067403","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":10,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760216067403/form4.xml","form_type":"4"}},{"id":4553365,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2016-11-16T20:53:28.000Z","date":"2016-11-16","kind":"sale","acquired":false,"shares":200,"price":66.35,"value":13270.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 24, 2016."}],"balance_after":9796,"source":{"system":"sec-edgar","filing":"0001127602-16-067403","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":9,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760216067403/form4.xml","form_type":"4"}},{"id":4553364,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2016-11-16T20:53:28.000Z","date":"2016-11-16","kind":"sale","acquired":false,"shares":200,"price":66.34,"value":13268.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 24, 2016."}],"balance_after":9996,"source":{"system":"sec-edgar","filing":"0001127602-16-067403","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":8,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760216067403/form4.xml","form_type":"4"}},{"id":4553363,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2016-11-16T20:53:28.000Z","date":"2016-11-16","kind":"sale","acquired":false,"shares":301,"price":66.33,"value":19965.33,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 24, 2016."}],"balance_after":10196,"source":{"system":"sec-edgar","filing":"0001127602-16-067403","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":7,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760216067403/form4.xml","form_type":"4"}},{"id":4553362,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2016-11-16T20:53:28.000Z","date":"2016-11-16","kind":"sale","acquired":false,"shares":300,"price":66.1901,"value":19857.03,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 24, 2016."}],"balance_after":10497,"source":{"system":"sec-edgar","filing":"0001127602-16-067403","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760216067403/form4.xml","form_type":"4"}},{"id":4553361,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2016-11-16T20:53:28.000Z","date":"2016-11-16","kind":"sale","acquired":false,"shares":100,"price":65.99,"value":6599.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 24, 2016."}],"balance_after":10797,"source":{"system":"sec-edgar","filing":"0001127602-16-067403","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760216067403/form4.xml","form_type":"4"}},{"id":4553360,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2016-11-16T20:53:28.000Z","date":"2016-11-16","kind":"sale","acquired":false,"shares":100,"price":65.658,"value":6565.8,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 24, 2016."}],"balance_after":10897,"source":{"system":"sec-edgar","filing":"0001127602-16-067403","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760216067403/form4.xml","form_type":"4"}},{"id":4553359,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2016-11-16T20:53:28.000Z","date":"2016-11-16","kind":"sale","acquired":false,"shares":200,"price":65.64,"value":13128.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on February 24, 2016."}],"balance_after":10997,"source":{"system":"sec-edgar","filing":"0001127602-16-067403","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760216067403/form4.xml","form_type":"4"}},{"id":4553358,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2016-11-16T20:53:28.000Z","date":"2016-11-15","kind":"disposition_to_issuer","acquired":false,"shares":157,"price":66.35,"value":10416.95,"ownership":{"direct":true},"balance_after":11197,"source":{"system":"sec-edgar","filing":"0001127602-16-067403","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760216067403/form4.xml","form_type":"4"}},{"id":4553357,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":164285,"kind":"person","name":"MERLOTTI FRANK H JR","position":1,"cik":"0001196722","reported_name":"MERLOTTI FRANK H JR","relationship":{"director":true}}],"security":"Common Stock","published_at":"2016-11-16T20:53:28.000Z","date":"2016-11-15","kind":"exercise","acquired":true,"shares":1958,"price":5.305,"value":10387.19,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights (SARs) are being exercised pursuant to a Rule 10b5-1 Exercise plan adopted by the reporting person on February 24, 2016."}],"balance_after":11354,"source":{"system":"sec-edgar","filing":"0001127602-16-067403","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760216067403/form4.xml","form_type":"4"}}]}