{"transactions":[{"id":3478248,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Stock Appreciation Right","published_at":"2019-06-26T15:15:07.000Z","date":"2019-06-10","kind":"exercise","acquired":false,"shares":2748,"price":0,"value":0.0,"ownership":{"direct":true},"balance_after":4462,"derivative":{"exercise_price":56.21,"exercise_date":"2019-02-14","expiration_date":"2028-02-14","underlying":"Common Stock","underlying_shares":2748},"source":{"system":"sec-edgar","filing":"0001127602-19-022847","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":11,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219022847/form4.xml","form_type":"4"}},{"id":3478247,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Stock Appreciation Right","published_at":"2019-06-26T15:15:07.000Z","date":"2019-06-10","kind":"exercise","acquired":false,"shares":4216,"price":0,"value":0.0,"ownership":{"direct":true},"balance_after":4789,"derivative":{"exercise_price":35.045,"exercise_date":"2018-02-15","expiration_date":"2027-02-15","underlying":"Common Stock","underlying_shares":4216},"source":{"system":"sec-edgar","filing":"0001127602-19-022847","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":10,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219022847/form4.xml","form_type":"4"}},{"id":3478246,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-06-26T15:15:07.000Z","date":"2019-06-20","kind":"sale","acquired":false,"shares":573,"price":68.587,"value":39300.351,"ownership":{"direct":true},"balance_after":0,"source":{"system":"sec-edgar","filing":"0001127602-19-022847","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":9,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219022847/form4.xml","form_type":"4"}},{"id":3478245,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-06-26T15:15:07.000Z","date":"2019-06-20","kind":"sale","acquired":false,"shares":1423,"price":68.5809,"value":97590.6207,"ownership":{"direct":true},"balance_after":573,"source":{"system":"sec-edgar","filing":"0001127602-19-022847","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":8,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219022847/form4.xml","form_type":"4"}},{"id":3478244,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-06-26T15:15:07.000Z","date":"2019-06-10","kind":"tax_withholding","acquired":false,"shares":232,"price":69.14,"value":16040.48,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted SARs."}],"balance_after":1996,"source":{"system":"sec-edgar","filing":"0001127602-19-022847","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":7,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219022847/form4.xml","form_type":"4"}},{"id":3478243,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-06-26T15:15:07.000Z","date":"2019-06-10","kind":"disposition_to_issuer","acquired":false,"shares":2234,"price":69.14,"value":154458.76,"ownership":{"direct":true},"balance_after":2228,"source":{"system":"sec-edgar","filing":"0001127602-19-022847","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219022847/form4.xml","form_type":"4"}},{"id":3478242,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-06-26T15:15:07.000Z","date":"2019-06-10","kind":"exercise","acquired":true,"shares":2748,"price":56.21,"value":154465.08,"ownership":{"direct":true},"balance_after":4462,"source":{"system":"sec-edgar","filing":"0001127602-19-022847","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219022847/form4.xml","form_type":"4"}},{"id":3478241,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-06-26T15:15:07.000Z","date":"2019-06-10","kind":"tax_withholding","acquired":false,"shares":938,"price":69.14,"value":64853.32,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted SARs."}],"balance_after":1714,"source":{"system":"sec-edgar","filing":"0001127602-19-022847","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219022847/form4.xml","form_type":"4"}},{"id":3478240,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-06-26T15:15:07.000Z","date":"2019-06-10","kind":"disposition_to_issuer","acquired":false,"shares":2137,"price":69.14,"value":147752.18,"ownership":{"direct":true},"balance_after":2652,"source":{"system":"sec-edgar","filing":"0001127602-19-022847","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219022847/form4.xml","form_type":"4"}},{"id":3478239,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-06-26T15:15:07.000Z","date":"2019-06-10","kind":"exercise","acquired":true,"shares":4216,"price":35.045,"value":147749.72,"ownership":{"direct":true},"balance_after":4789,"source":{"system":"sec-edgar","filing":"0001127602-19-022847","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219022847/form4.xml","form_type":"4"}},{"id":3478238,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-06-26T15:15:07.000Z","date":"2019-06-10","kind":"sale","acquired":false,"shares":23762,"price":69.1945,"value":1644199.709,"ownership":{"direct":true},"balance_after":573,"source":{"system":"sec-edgar","filing":"0001127602-19-022847","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219022847/form4.xml","form_type":"4"}},{"id":3512244,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-05-24T20:49:35.000Z","date":"2019-05-23","kind":"tax_withholding","acquired":false,"shares":5435,"price":63.99,"value":347785.65,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"5,435 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":24335,"source":{"system":"sec-edgar","filing":"0001127602-19-019934","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219019934/form4.xml","form_type":"4"}},{"id":3512243,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-05-24T20:49:35.000Z","date":"2019-05-13","kind":"tax_withholding","acquired":false,"shares":4834,"price":60.63,"value":293085.42,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"4,834 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":29770,"source":{"system":"sec-edgar","filing":"0001127602-19-019934","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219019934/form4.xml","form_type":"4"}},{"id":3569617,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-04-02T19:27:41.000Z","date":"2019-03-29","kind":"grant","acquired":true,"shares":97,"price":51.88,"value":5032.36,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares purchased under the Company Employee Stock Purchase Plan."}],"balance_after":34604,"source":{"system":"sec-edgar","filing":"0001127602-19-014050","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219014050/form4.xml","form_type":"4"}},{"id":3614838,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Stock Appreciation Right","published_at":"2019-03-05T14:31:05.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":2229,"price":77.7,"value":173193.3,"ownership":{"direct":true},"balance_after":2229,"derivative":{"exercise_price":77.7,"exercise_date":"2019-02-13","expiration_date":"2029-02-13","underlying":"Common Stock","underlying_shares":2229},"source":{"system":"sec-edgar","filing":"0001127602-19-009726","document":"form4a.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009726/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614837,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-03-05T14:31:05.000Z","date":"2019-02-14","kind":"tax_withholding","acquired":false,"shares":379,"price":78.34,"value":29690.86,"ownership":{"direct":true},"balance_after":36721,"source":{"system":"sec-edgar","filing":"0001127602-19-009726","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009726/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614836,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-03-05T14:31:05.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":2826,"price":77.7,"value":219580.2,"ownership":{"direct":true},"balance_after":37100,"source":{"system":"sec-edgar","filing":"0001127602-19-009726","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009726/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614835,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-03-05T14:31:05.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":1978,"price":77.7,"value":153690.6,"ownership":{"direct":true},"balance_after":34274,"source":{"system":"sec-edgar","filing":"0001127602-19-009726","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009726/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614834,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-03-05T14:31:05.000Z","date":"2019-02-13","kind":"tax_withholding","acquired":false,"shares":4653,"price":77.7,"value":361538.1,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"The number of shares withheld for taxes was incorrectly reported on the previous Form 4."}],"balance_after":32296,"source":{"system":"sec-edgar","filing":"0001127602-19-009726","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009726/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3614833,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-03-05T14:31:05.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":6111,"price":77.7,"value":474824.7,"ownership":{"direct":true},"balance_after":36949,"source":{"system":"sec-edgar","filing":"0001127602-19-009726","document":"form4a.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219009726/form4a.xml","form_type":"4/A","original_submission_date":"2019-02-15"}},{"id":3650804,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-02-19T18:25:40.000Z","date":"2019-02-17","kind":"tax_withholding","acquired":false,"shares":1626,"price":76.76,"value":124811.76,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"1,626 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":35279,"source":{"system":"sec-edgar","filing":"0001127602-19-006646","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006646/form4.xml","form_type":"4"}},{"id":3650803,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-02-19T18:25:40.000Z","date":"2019-02-15","kind":"tax_withholding","acquired":false,"shares":588,"price":76.76,"value":45134.88,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"588 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted shares."}],"balance_after":36905,"source":{"system":"sec-edgar","filing":"0001127602-19-006646","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006646/form4.xml","form_type":"4"}},{"id":3654317,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Stock Appreciation Right","published_at":"2019-02-15T20:53:41.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":2229,"price":77.7,"value":173193.3,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F6","text":"This stock appreciation right becomes exercisable in three equal annual installments beginning on the first anniversary of the grant date."}],"balance_after":2229,"derivative":{"exercise_price":77.7,"exercise_date":"2019-02-13","expiration_date":"2029-02-13","underlying":"Common Stock","underlying_shares":2229},"source":{"system":"sec-edgar","filing":"0001127602-19-006267","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006267/form4.xml","form_type":"4"}},{"id":3654316,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-02-15T20:53:41.000Z","date":"2019-02-14","kind":"tax_withholding","acquired":false,"shares":379,"price":78.34,"value":29690.86,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F5","text":"379 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted shares."}],"balance_after":37493,"source":{"system":"sec-edgar","filing":"0001127602-19-006267","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006267/form4.xml","form_type":"4"}},{"id":3654315,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-02-15T20:53:41.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":2826,"price":77.7,"value":219580.2,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F4","text":"This restricted stock unit award is performance-based, and vests over a three-year period in three equal installments beginning on the first anniversary of the grant date.  The number of shares set forth above is the target number of shares.  The number of shares that will actually vest each year will be based upon performance against certain financial goals for the Company, and will range from 0% to 200% of the target number of shares."}],"balance_after":37872,"source":{"system":"sec-edgar","filing":"0001127602-19-006267","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006267/form4.xml","form_type":"4"}},{"id":3654314,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-02-15T20:53:41.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":1978,"price":77.7,"value":153690.6,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"This restricted stock unit vests over a three-year period in three equal annual installments beginning on the first anniversary of the grant date."}],"balance_after":35046,"source":{"system":"sec-edgar","filing":"0001127602-19-006267","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006267/form4.xml","form_type":"4"}},{"id":3654313,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-02-15T20:53:41.000Z","date":"2019-02-13","kind":"tax_withholding","acquired":false,"shares":3881,"price":77.7,"value":301553.7,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"3,881 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":33068,"source":{"system":"sec-edgar","filing":"0001127602-19-006267","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006267/form4.xml","form_type":"4"}},{"id":3654312,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-02-15T20:53:41.000Z","date":"2019-02-13","kind":"grant","acquired":true,"shares":6111,"price":77.7,"value":474824.7,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Represents net share difference between target performance-based shares and actual vested shares, based upon actual performance for the Company."}],"balance_after":36949,"source":{"system":"sec-edgar","filing":"0001127602-19-006267","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760219006267/form4.xml","form_type":"4"}},{"id":3705362,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"director":false,"officer":true,"ten_percent_owner":false,"other":false,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2019-01-04T14:43:36.000Z","date":"2018-12-31","kind":"purchase","acquired":true,"shares":82,"price":50.46,"value":4137.72,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares purchased under the Company Employee Stock Purchase Plan."}],"balance_after":30838,"source":{"system":"sec-edgar","filing":"0000899243-19-000434","document":"doc4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000089924319000434/doc4.xml","form_type":"4"}},{"id":3802538,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-10-02T12:30:28.000Z","date":"2018-09-28","kind":"purchase","acquired":true,"shares":89,"price":54.95,"value":4890.55,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares purchased under the Company Employee Stock Purchase Plan."}],"balance_after":30756,"source":{"system":"sec-edgar","filing":"0001127602-18-028880","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218028880/form4.xml","form_type":"4"}},{"id":3853698,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-08-03T20:40:30.000Z","date":"2018-08-01","kind":"sale","acquired":false,"shares":60,"price":79.475,"value":4768.5,"ownership":{"direct":true},"balance_after":30667,"source":{"system":"sec-edgar","filing":"0001127602-18-024608","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218024608/form4.xml","form_type":"4"}},{"id":3853697,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-08-03T20:40:30.000Z","date":"2018-08-01","kind":"sale","acquired":false,"shares":6969,"price":78.6851,"value":548356.4619,"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 $78.23 to $79.19, 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 (2) to this Form 4."}],"balance_after":30727,"source":{"system":"sec-edgar","filing":"0001127602-18-024608","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218024608/form4.xml","form_type":"4"}},{"id":3853696,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-08-03T20:40:30.000Z","date":"2018-08-01","kind":"sale","acquired":false,"shares":4783,"price":77.8158,"value":372192.9714,"ownership":{"direct":true},"footnotes":[{"field":"price","element":"transactionPricePerShare","label":"F1","text":"The price reported in Column 4 is a weighted average price.  These shares were sold in multiple transactions at prices ranging from $77.21 to $78.21, 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 (1) to this Form 4."}],"balance_after":37696,"source":{"system":"sec-edgar","filing":"0001127602-18-024608","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218024608/form4.xml","form_type":"4"}},{"id":3876264,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-07-03T17:46:41.000Z","date":"2018-06-29","kind":"purchase","acquired":true,"shares":93,"price":45.08,"value":4192.44,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares purchased under the Company Employee Stock Purchase Plan."},{"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":42479,"source":{"system":"sec-edgar","filing":"0001127602-18-022508","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218022508/form4.xml","form_type":"4"}},{"id":3942935,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-05-08T19:54:44.000Z","date":"2018-05-02","kind":"grant","acquired":true,"shares":5359,"price":105.03,"value":562855.77,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"This restricted stock unit award will vest in accordance with the terms of a Retention Agreement dated May 2, 2018, between Trex Company, Inc. and Jay T. Scripter; as further described in the Company's Quarterly Report on Form 10-Q for the quarterly period ended on March 31, 2018."}],"balance_after":21193,"source":{"system":"sec-edgar","filing":"0001127602-18-016622","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218016622/form4.xml","form_type":"4"}},{"id":3974070,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-04-03T13:03:50.000Z","date":"2018-03-30","kind":"purchase","acquired":true,"shares":52,"price":92.45,"value":4807.4,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares purchased under the Company Employee Stock Purchase Plan."}],"balance_after":15834,"source":{"system":"sec-edgar","filing":"0001127602-18-013440","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218013440/form4.xml","form_type":"4"}},{"id":4048714,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-02-20T20:27:28.000Z","date":"2018-02-16","kind":"tax_withholding","acquired":false,"shares":814,"price":112.61,"value":91664.54,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":15782,"source":{"system":"sec-edgar","filing":"0001127602-18-007094","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007094/form4.xml","form_type":"4"}},{"id":4048713,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-02-20T20:27:28.000Z","date":"2018-02-15","kind":"tax_withholding","acquired":false,"shares":294,"price":113.28,"value":33304.32,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted stock units."}],"balance_after":16596,"source":{"system":"sec-edgar","filing":"0001127602-18-007094","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218007094/form4.xml","form_type":"4"}},{"id":4052723,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Stock Appreciation Right","published_at":"2018-02-16T13:44:17.000Z","date":"2018-02-14","kind":"grant","acquired":true,"shares":1374,"price":112.42,"value":154465.08,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F5","text":"This stock appreciation right becomes exercisable in three equal annual installments beginning on the first anniversary of the grant date."}],"balance_after":1374,"derivative":{"exercise_price":112.42,"exercise_date":"2019-02-14","expiration_date":"2028-02-14","underlying":"Common Stock","underlying_shares":1374},"source":{"system":"sec-edgar","filing":"0001127602-18-006502","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006502/form4.xml","form_type":"4"}},{"id":4052722,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-02-16T13:44:17.000Z","date":"2018-02-14","kind":"grant","acquired":true,"shares":1799,"price":112.42,"value":202243.58,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F4","text":"This restricted stock unit award is performance-based, and vests over a three-year period in three equal installments beginning on the first anniversary of the grant date.  The number of shares set forth above is the target number of shares.  The number of shares that will actually vest each year will be based upon performance against certain financial goals for the Company, and will range from 0% to 200% of the target number of shares."}],"balance_after":16890,"source":{"system":"sec-edgar","filing":"0001127602-18-006502","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006502/form4.xml","form_type":"4"}},{"id":4052721,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-02-16T13:44:17.000Z","date":"2018-02-14","kind":"grant","acquired":true,"shares":1260,"price":112.42,"value":141649.2,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"This restricted stock unit vests over a three-year period in three equal annual installments beginning on the first anniversary of the grant date."}],"balance_after":15091,"source":{"system":"sec-edgar","filing":"0001127602-18-006502","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006502/form4.xml","form_type":"4"}},{"id":4052720,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-02-16T13:44:17.000Z","date":"2018-02-14","kind":"tax_withholding","acquired":false,"shares":2362,"price":112.42,"value":265536.04,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"2,362 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted shares."}],"balance_after":13831,"source":{"system":"sec-edgar","filing":"0001127602-18-006502","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006502/form4.xml","form_type":"4"}},{"id":4052719,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-02-16T13:44:17.000Z","date":"2018-02-14","kind":"grant","acquired":true,"shares":2501,"price":112.42,"value":281162.42,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Represents net share difference between target performance-based shares and actual vested shares, based upon actual performance for the Company."}],"balance_after":16193,"source":{"system":"sec-edgar","filing":"0001127602-18-006502","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218006502/form4.xml","form_type":"4"}},{"id":4113554,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2018-01-03T19:01:51.000Z","date":"2017-12-29","kind":"purchase","acquired":true,"shares":54,"price":74.32,"value":4013.28,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares purchased under the Company Employee Stock Purchase Plan."}],"balance_after":13692,"source":{"system":"sec-edgar","filing":"0001127602-18-000440","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760218000440/form4.xml","form_type":"4"}},{"id":4173332,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-11-03T13:57:16.000Z","date":"2017-11-01","kind":"sale","acquired":false,"shares":33,"price":108.71,"value":3587.43,"ownership":{"direct":true},"balance_after":13638,"source":{"system":"sec-edgar","filing":"0001127602-17-031100","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":7,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217031100/form4.xml","form_type":"4"}},{"id":4173331,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-11-03T13:57:16.000Z","date":"2017-11-01","kind":"sale","acquired":false,"shares":19,"price":108.7,"value":2065.3,"ownership":{"direct":true},"balance_after":13671,"source":{"system":"sec-edgar","filing":"0001127602-17-031100","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":6,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217031100/form4.xml","form_type":"4"}},{"id":4173330,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-11-03T13:57:16.000Z","date":"2017-11-01","kind":"sale","acquired":false,"shares":100,"price":108.65,"value":10865.0,"ownership":{"direct":true},"balance_after":13690,"source":{"system":"sec-edgar","filing":"0001127602-17-031100","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217031100/form4.xml","form_type":"4"}},{"id":4173329,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-11-03T13:57:16.000Z","date":"2017-11-01","kind":"sale","acquired":false,"shares":174,"price":108.64,"value":18903.36,"ownership":{"direct":true},"balance_after":13790,"source":{"system":"sec-edgar","filing":"0001127602-17-031100","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217031100/form4.xml","form_type":"4"}},{"id":4173328,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-11-03T13:57:16.000Z","date":"2017-11-01","kind":"sale","acquired":false,"shares":100,"price":108.63,"value":10863.0,"ownership":{"direct":true},"balance_after":13964,"source":{"system":"sec-edgar","filing":"0001127602-17-031100","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217031100/form4.xml","form_type":"4"}},{"id":4173327,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-11-03T13:57:16.000Z","date":"2017-11-01","kind":"sale","acquired":false,"shares":148,"price":108.58,"value":16069.84,"ownership":{"direct":true},"balance_after":14064,"source":{"system":"sec-edgar","filing":"0001127602-17-031100","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217031100/form4.xml","form_type":"4"}},{"id":4173326,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-11-03T13:57:16.000Z","date":"2017-11-01","kind":"sale","acquired":false,"shares":542,"price":108.55,"value":58834.1,"ownership":{"direct":true},"balance_after":14212,"source":{"system":"sec-edgar","filing":"0001127602-17-031100","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217031100/form4.xml","form_type":"4"}},{"id":4195574,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-10-03T16:06:25.000Z","date":"2017-09-29","kind":"purchase","acquired":true,"shares":81,"price":58.47,"value":4736.07,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares purchased under the Company Employee Stock Purchase Plan."}],"balance_after":14754,"source":{"system":"sec-edgar","filing":"0001127602-17-028797","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217028797/form4.xml","form_type":"4"}},{"id":4265299,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-07-05T15:53:30.000Z","date":"2017-06-30","kind":"purchase","acquired":true,"shares":70,"price":57.26,"value":4008.2,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares purchased under the Company Employee Stock Purchase Plan."}],"balance_after":14673,"source":{"system":"sec-edgar","filing":"0001127602-17-022691","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217022691/form4.xml","form_type":"4"}},{"id":4362277,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-04-04T15:43:19.000Z","date":"2017-03-31","kind":"purchase","acquired":true,"shares":23,"price":57.06,"value":1312.38,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Shares purchased under the Company Employee Stock Purchase Plan."}],"balance_after":14603,"source":{"system":"sec-edgar","filing":"0001127602-17-013718","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217013718/form4.xml","form_type":"4"}},{"id":4432694,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-02-22T19:33:02.000Z","date":"2017-02-17","kind":"tax_withholding","acquired":false,"shares":861,"price":69.81,"value":60106.41,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"861 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted shares."}],"balance_after":14580,"source":{"system":"sec-edgar","filing":"0001127602-17-007612","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217007612/form4.xml","form_type":"4"}},{"id":4440384,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Stock Appreciation Right","published_at":"2017-02-17T21:13:44.000Z","date":"2017-02-15","kind":"grant","acquired":true,"shares":2108,"price":0,"value":0.0,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F5","text":"This stock appreciation right becomes exercisable in three equal annual installments beginning on the first anniversary of the grant date."}],"balance_after":2108,"derivative":{"exercise_price":70.09,"exercise_date":"2018-02-15","expiration_date":"2027-02-15","underlying":"Common Stock","underlying_shares":2108},"source":{"system":"sec-edgar","filing":"0001127602-17-006918","document":"form4.xml","document_sequence":1,"table":"derivative","row_type":"transaction","position":5,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217006918/form4.xml","form_type":"4"}},{"id":4440383,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-02-17T21:13:44.000Z","date":"2017-02-15","kind":"grant","acquired":true,"shares":2788,"price":70.09,"value":195410.92,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F4","text":"This restricted stock unit award is performance-based, and vests over a three-year period in three equal installments beginning on the first anniversary of the grant date.  The number of shares set forth above is the target number of shares.  The number of shares that will actually vest each year will be based upon performance against certain financial goals for the Company, and will range from 0% to 200% of the target number of shares."}],"balance_after":15441,"source":{"system":"sec-edgar","filing":"0001127602-17-006918","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":4,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217006918/form4.xml","form_type":"4"}},{"id":4440382,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-02-17T21:13:44.000Z","date":"2017-02-15","kind":"grant","acquired":true,"shares":1952,"price":70.09,"value":136815.68,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F3","text":"This restricted stock unit vests over a three-year period in three equal annual installments beginning on the first anniversary of the grant date."}],"balance_after":12653,"source":{"system":"sec-edgar","filing":"0001127602-17-006918","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":3,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217006918/form4.xml","form_type":"4"}},{"id":4440381,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-02-17T21:13:44.000Z","date":"2017-02-15","kind":"tax_withholding","acquired":false,"shares":1540,"price":70.09,"value":107938.6,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F2","text":"1,540 shares are being surrendered as allowed by the Company's 2014 Stock Incentive Plan to cover payment of taxes currently due on previously granted restricted shares."}],"balance_after":10701,"source":{"system":"sec-edgar","filing":"0001127602-17-006918","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":2,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217006918/form4.xml","form_type":"4"}},{"id":4440380,"issuer":{"id":3990,"kind":"organization","name":"TREX CO INC","symbol":"TREX"},"owners":[{"id":148469,"kind":"person","name":"SCRIPTER JAY T","position":1,"cik":"0001392265","reported_name":"SCRIPTER JAY T","relationship":{"officer":true,"officer_title":"Vice President, Operations"}}],"security":"Common Stock","published_at":"2017-02-17T21:13:44.000Z","date":"2017-02-15","kind":"grant","acquired":true,"shares":1425,"price":70.09,"value":99878.25,"ownership":{"direct":true},"footnotes":[{"field":"kind","element":"transactionCoding","label":"F1","text":"Represents net share difference between target performance-based shares and actual vested shares, based upon actual performance for the Company."}],"balance_after":12241,"source":{"system":"sec-edgar","filing":"0001127602-17-006918","document":"form4.xml","document_sequence":1,"table":"nonDerivative","row_type":"transaction","position":1,"url":"https://www.sec.gov/Archives/edgar/data/1069878/000112760217006918/form4.xml","form_type":"4"}}]}