{"transactions":[{"id":700895,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2026-07-30T23:26:32.000Z","date":"2026-07-29","kind":"grant","planned":false,"acquired":true,"shares":2831,"price":42.39,"value":120006.09,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit award will vest on the first anniversary of the grant."}],"balance_after":33705,"source":{"system":"sec-edgar","filing":"0001069878-26-000054","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000106987826000054/form4.xml","form_type":"4"}},{"id":1078568,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2025-07-31T14:08:23.000Z","date":"2025-07-30","kind":"grant","planned":false,"acquired":true,"shares":1812,"price":66.23,"value":120008.76,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit award will vest on the first anniversary of the grant."}],"balance_after":30874,"source":{"system":"sec-edgar","filing":"0001127602-25-019778","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760225019778/form4.xml","form_type":"4"}},{"id":1448779,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2024-07-25T14:48:58.000Z","date":"2024-07-24","kind":"grant","planned":false,"acquired":true,"shares":1569,"price":76.5,"value":120028.5,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit award will vest on the first anniversary of the grant."}],"balance_after":29062,"source":{"system":"sec-edgar","filing":"0001127602-24-020979","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760224020979/form4.xml","form_type":"4"}},{"id":1822359,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2023-07-27T13:40:33.000Z","date":"2023-07-26","kind":"grant","planned":false,"acquired":true,"shares":1730,"price":69.38,"value":120027.4,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit award will vest on the first anniversary of the grant."}],"balance_after":27493,"source":{"system":"sec-edgar","filing":"0001127602-23-021356","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760223021356/form4.xml","form_type":"4"}},{"id":2201000,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2022-07-28T20:02:16.000Z","date":"2022-07-27","kind":"grant","acquired":true,"shares":1976,"price":60.73,"value":120002.48,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit award will vest on the first anniversary of the grant."}],"balance_after":25763,"source":{"system":"sec-edgar","filing":"0001127602-22-019857","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760222019857/form4.xml","form_type":"4"}},{"id":2622406,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2021-07-29T18:49:19.000Z","date":"2021-07-28","kind":"grant","acquired":true,"shares":1157,"price":95.1,"value":110030.7,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit award will vest on the first anniversary of the grant."}],"balance_after":23787,"source":{"system":"sec-edgar","filing":"0001127602-21-022588","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221022588/form4.xml","form_type":"4"}},{"id":2712840,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2021-05-14T17:21:41.000Z","date":"2021-05-14","kind":"sale","acquired":false,"shares":2140,"price":100.92,"value":215968.8,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Plan adopted by the reporting person on February 24, 2021."}],"balance_after":22630,"source":{"system":"sec-edgar","filing":"0001127602-21-016745","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221016745/form4.xml","form_type":"4"}},{"id":2770942,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2021-03-26T15:44:33.000Z","date":"2021-03-26","kind":"sale","acquired":false,"shares":3692,"price":90.13,"value":332759.96,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Plan adopted by the reporting person on February 21, 2021."}],"balance_after":24770,"source":{"system":"sec-edgar","filing":"0001127602-21-012089","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760221012089/form4.xml","form_type":"4"}},{"id":3073588,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2020-07-31T00:22:32.000Z","date":"2020-07-29","kind":"grant","acquired":true,"shares":716,"price":139.63,"value":99975.08,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted award will vest on the first anniversary of the grant."}],"balance_after":14231,"source":{"system":"sec-edgar","filing":"0001127602-20-022361","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220022361/form4.xml","form_type":"4"}},{"id":3244440,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Stock Appreciation Right","published_at":"2020-02-27T22:00:14.000Z","date":"2020-02-26","kind":"exercise","acquired":false,"shares":2992,"price":0,"value":0.0,"ownership":{"direct":true},"balance_after":0,"derivative":{"exercise_price":7.0875,"exercise_date":"2012-07-24","expiration_date":"2022-07-24","underlying":"Common Stock","underlying_shares":2992},"source":{"system":"sec-edgar","filing":"0001127602-20-008163","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008163/form4.xml","form_type":"4"}},{"id":3244439,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2020-02-27T22:00:14.000Z","date":"2020-02-26","kind":"sale","acquired":false,"shares":100,"price":96.91,"value":9691.0,"ownership":{"direct":true},"balance_after":13515,"source":{"system":"sec-edgar","filing":"0001127602-20-008163","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008163/form4.xml","form_type":"4"}},{"id":3244438,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2020-02-27T22:00:14.000Z","date":"2020-02-26","kind":"sale","acquired":false,"shares":2676,"price":96.3678,"value":257880.2328,"ownership":{"direct":true},"footnotes":[{"field":"price","element":"transactionPricePerShare","label":"F2","text":"The price reported in column 4 is a weighted average price.  These shares were sold in multiple transactions at prices ranging from $95.84 to $96.84, inclusive."}],"balance_after":13615,"source":{"system":"sec-edgar","filing":"0001127602-20-008163","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008163/form4.xml","form_type":"4"}},{"id":3244437,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2020-02-27T22:00:14.000Z","date":"2020-02-26","kind":"disposition_to_issuer","acquired":false,"shares":216,"price":98.47,"value":21269.52,"ownership":{"direct":true},"balance_after":16291,"source":{"system":"sec-edgar","filing":"0001127602-20-008163","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008163/form4.xml","form_type":"4"}},{"id":3244436,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2020-02-27T22:00:14.000Z","date":"2020-02-26","kind":"exercise","acquired":true,"shares":2992,"price":7.0875,"value":21205.8,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights are being exercised pursuant to a Rule 10b5-1 sales plan adopted by the reporting person on July 29, 2019."}],"balance_after":16507,"source":{"system":"sec-edgar","filing":"0001127602-20-008163","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760220008163/form4.xml","form_type":"4"}},{"id":3383816,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Stock Appreciation Right","published_at":"2019-11-01T21:46:47.000Z","date":"2019-10-30","kind":"exercise","acquired":false,"shares":864,"price":0,"value":0.0,"ownership":{"direct":true},"balance_after":2992,"derivative":{"exercise_price":7.0875,"exercise_date":"2012-07-24","expiration_date":"2022-07-24","underlying":"Common Stock","underlying_shares":864},"source":{"system":"sec-edgar","filing":"0001127602-19-031563","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031563/form4.xml","form_type":"4"}},{"id":3383815,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Stock Appreciation Right","published_at":"2019-11-01T21:46:47.000Z","date":"2019-10-30","kind":"exercise","acquired":false,"shares":2136,"price":0,"value":0.0,"ownership":{"direct":true},"balance_after":0,"derivative":{"exercise_price":5.2875,"exercise_date":"2011-07-26","expiration_date":"2021-07-26","underlying":"Common Stock","underlying_shares":2136},"source":{"system":"sec-edgar","filing":"0001127602-19-031563","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031563/form4.xml","form_type":"4"}},{"id":3383814,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2019-11-01T21:46:47.000Z","date":"2019-10-30","kind":"disposition_to_issuer","acquired":false,"shares":208,"price":84.2,"value":17513.6,"ownership":{"direct":true},"balance_after":13515,"source":{"system":"sec-edgar","filing":"0001127602-19-031563","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031563/form4.xml","form_type":"4"}},{"id":3383813,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2019-11-01T21:46:47.000Z","date":"2019-10-31","kind":"sale","acquired":false,"shares":2792,"price":83.46,"value":233020.32,"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 Plan adopted by the reporting person on July 31, 2019."},{"field":"shares","element":"transactionShares","label":"F3","text":"This transaction was executed in multiple trades at prices ranging from $83.015 to $84.000. The price reported above reflects the weighted average sale price. The reporting person hereby undertakes to provide upon request to the SEC staff, the issuer or a security holder of the issuer full information regarding the number of shares and prices at which the transaction was effected."}],"balance_after":13723,"source":{"system":"sec-edgar","filing":"0001127602-19-031563","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031563/form4.xml","form_type":"4"}},{"id":3383812,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2019-11-01T21:46:47.000Z","date":"2019-10-30","kind":"exercise","acquired":true,"shares":864,"price":7.0875,"value":6123.6,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights are being exercised pursuant to a Rule 10b5-1 Plan adopted by the reporting person on July 31, 2019."}],"balance_after":16515,"source":{"system":"sec-edgar","filing":"0001127602-19-031563","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031563/form4.xml","form_type":"4"}},{"id":3383811,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2019-11-01T21:46:47.000Z","date":"2019-10-30","kind":"exercise","acquired":true,"shares":2136,"price":5.2875,"value":11294.1,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Stock Appreciation Rights are being exercised pursuant to a Rule 10b5-1 Plan adopted by the reporting person on July 31, 2019."}],"balance_after":15651,"source":{"system":"sec-edgar","filing":"0001127602-19-031563","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219031563/form4.xml","form_type":"4"}},{"id":3420927,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Stock Appreciation Right","published_at":"2019-09-06T15:27:50.000Z","date":"2019-09-05","kind":"exercise","acquired":false,"shares":3000,"price":0,"value":0.0,"ownership":{"direct":true},"balance_after":5992,"derivative":{"exercise_price":5.2875,"exercise_date":"2011-07-26","expiration_date":"2021-07-26","underlying":"Common Stock","underlying_shares":3000},"source":{"system":"sec-edgar","filing":"0001127602-19-028027","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219028027/form4.xml","form_type":"4"}},{"id":3420926,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2019-09-06T15:27:50.000Z","date":"2019-09-06","kind":"sale","acquired":false,"shares":2817,"price":86.6656,"value":244136.9952,"ownership":{"direct":true},"footnotes":[{"field":"shares","element":"transactionShares","label":"F2","text":"This transaction was executed in multiple trades at prices ranging from $86.18 to $87.06.  The price reported above reflects the weighted average sale price.  The reporting person hereby undertakes to provide upon request to the SEC staff, the issuer or a security holder of the issuer full information regarding the number of shares and prices at which the transaction was effected."}],"balance_after":13515,"source":{"system":"sec-edgar","filing":"0001127602-19-028027","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219028027/form4.xml","form_type":"4"}},{"id":3420925,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2019-09-06T15:27:50.000Z","date":"2019-09-05","kind":"disposition_to_issuer","acquired":false,"shares":183,"price":86.87,"value":15897.21,"ownership":{"direct":true},"balance_after":16332,"source":{"system":"sec-edgar","filing":"0001127602-19-028027","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219028027/form4.xml","form_type":"4"}},{"id":3420924,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2019-09-06T15:27:50.000Z","date":"2019-09-05","kind":"exercise","acquired":true,"shares":3000,"price":5.2875,"value":15862.5,"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 July 29, 2019."}],"balance_after":16515,"source":{"system":"sec-edgar","filing":"0001127602-19-028027","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219028027/form4.xml","form_type":"4"}},{"id":3455378,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2019-07-27T01:02:16.000Z","date":"2019-07-24","kind":"grant","acquired":true,"shares":1403,"price":71.28,"value":100005.84,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted award will vest on the first anniversary of the grant."}],"balance_after":13515,"source":{"system":"sec-edgar","filing":"0001127602-19-025292","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219025292/form4.xml","form_type":"4"}},{"id":3861039,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-07-26T20:05:28.000Z","date":"2018-07-25","kind":"grant","acquired":true,"shares":1070,"price":65.37,"value":69945.9,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted award will vest on the first anniversary of the grant."},{"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":12112,"source":{"system":"sec-edgar","filing":"0001127602-18-023900","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218023900/form4.xml","form_type":"4"}},{"id":4048740,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":100,"price":112.5,"value":11250.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":5521,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":18,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048739,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":100,"price":112.46,"value":11246.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":5621,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":17,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048738,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":100,"price":112.26,"value":11226.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":5721,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":16,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048737,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":100,"price":112.22,"value":11222.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":5821,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":15,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048736,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":22,"price":112.16,"value":2467.52,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":5921,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":14,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048735,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":200,"price":111.97,"value":22394.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":5943,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":13,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048734,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":100,"price":111.9301,"value":11193.01,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":6143,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":12,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048733,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":100,"price":111.9201,"value":11192.01,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":6243,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":11,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048732,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":100,"price":111.8801,"value":11188.01,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":6343,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":10,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048731,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":300,"price":111.88,"value":33564.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":6443,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":9,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048730,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":100,"price":111.87,"value":11187.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":6743,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":8,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048729,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":100,"price":111.57,"value":11157.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":6843,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":7,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048728,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":200,"price":111.54,"value":22308.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":6943,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048727,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":100,"price":111.5,"value":11150.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":7143,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048726,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":200,"price":111.47,"value":22294.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":7243,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048725,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":100,"price":111.42,"value":11142.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":7443,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048724,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":100,"price":111.38,"value":11138.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":7543,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4048723,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-02-20T21:56:50.000Z","date":"2018-02-20","kind":"sale","acquired":false,"shares":200,"price":111.34,"value":22268.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":7643,"source":{"system":"sec-edgar","filing":"0001127602-18-007272","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007272/form4.xml","form_type":"4"}},{"id":4099612,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-01-16T21:54:23.000Z","date":"2018-01-16","kind":"sale","acquired":false,"shares":258,"price":118.29,"value":30518.82,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":7843,"source":{"system":"sec-edgar","filing":"0001127602-18-001850","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":7,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218001850/form4.xml","form_type":"4"}},{"id":4099611,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-01-16T21:54:23.000Z","date":"2018-01-16","kind":"sale","acquired":false,"shares":200,"price":117.95,"value":23590.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":8101,"source":{"system":"sec-edgar","filing":"0001127602-18-001850","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218001850/form4.xml","form_type":"4"}},{"id":4099610,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-01-16T21:54:23.000Z","date":"2018-01-16","kind":"sale","acquired":false,"shares":100,"price":116.19,"value":11619.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":8301,"source":{"system":"sec-edgar","filing":"0001127602-18-001850","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218001850/form4.xml","form_type":"4"}},{"id":4099609,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-01-16T21:54:23.000Z","date":"2018-01-16","kind":"sale","acquired":false,"shares":200,"price":116.0301,"value":23206.02,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":8401,"source":{"system":"sec-edgar","filing":"0001127602-18-001850","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218001850/form4.xml","form_type":"4"}},{"id":4099608,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-01-16T21:54:23.000Z","date":"2018-01-16","kind":"sale","acquired":false,"shares":100,"price":116.0101,"value":11601.01,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":8601,"source":{"system":"sec-edgar","filing":"0001127602-18-001850","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218001850/form4.xml","form_type":"4"}},{"id":4099607,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-01-16T21:54:23.000Z","date":"2018-01-16","kind":"sale","acquired":false,"shares":100,"price":116.0001,"value":11600.01,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":8701,"source":{"system":"sec-edgar","filing":"0001127602-18-001850","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218001850/form4.xml","form_type":"4"}},{"id":4099606,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2018-01-16T21:54:23.000Z","date":"2018-01-16","kind":"sale","acquired":false,"shares":100,"price":116,"value":11600.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":8801,"source":{"system":"sec-edgar","filing":"0001127602-18-001850","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218001850/form4.xml","form_type":"4"}},{"id":4140701,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-12-06T15:51:40.000Z","date":"2017-12-05","kind":"sale","acquired":false,"shares":1418,"price":111.05,"value":157468.9,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 Sales plan adopted by the reporting person on November 13, 2017."}],"balance_after":8901,"source":{"system":"sec-edgar","filing":"0001127602-17-034007","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217034007/form4.xml","form_type":"4"}},{"id":4250333,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":27841,"kind":"person","name":"GRATZ JAY M","position":1,"cik":"0001180356","reported_name":"GRATZ JAY M","relationship":{"director":true}}],"security":"Common Stock","published_at":"2017-07-27T20:16:28.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-024240","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217024240/form4.xml","form_type":"4"}}]}