An organic electronic device comprising at least two electrodes, and one or more organic material layers disposed between the two electrodes, wherein the organic electronic device is an organic transistor or an organic solar cell, and one or more layers of the organic material layers comprise a compound represented by the following formula 2: wherein R 5 to R 8 are the same as or different from each other, and are each independently a hydrogen atom, a hydroxyl group, a halogen atom, a nitrile group, a nitro group, an ester group, an ether group, an amino group, an imide group, a silane group, a thioester group, a substituted or unsubstituted, linear, branched, or cyclic alkyl group having 1 to 20 carbon atoms, a substituted or unsubstituted, linear, branched, or cyclic alkoxy group having 1 to 20 carbon atoms, a substituted or unsubstituted, linear, branched, or cyclic thioalkoxy group having 1 to 20 carbon atoms, a substituted or unsubstituted aryl group, or a substituted or unsubstituted heteroaryl group; two or more carbon atoms which are not adjacent to each other in R 5 to R 8 may be linked by O, S, NH, -NR 0 -, SiR 0 R 00 -, -CO-,-COO-, -OCO-, -OCOO-, -S-CO-, -CO-S-, -CH=CH-, a substituted or unsubstituted aryl group or a substituted or unsubstituted heteroaryl group, in which R 0 and R 00 are the same as or different from each other, and are each independently a hydrogen, an aryl group, or an alkyl group having 1 to 12 carbon atoms; two or more of R 5 to R 8 are bonded to each other to form a ring; x is a real number with 0<x≤1, y is a real number with 0≤y<1, z is a real number with 0≤z<1, and x+y+z=1; n is an integer of 10 to 1000; A and B are the same as or different from each other, and are each independently an aromatic group, a bivalent heterocyclic group having a conjugated structure, or an acyclic group as follows: R' and R" are the same as or different from each other, and may be each independently a hydrogen atom; a linear, branched, or cyclic alkoxy group; a nitrile group; and the dotted line is a portion linked to a backbone of the formula 2. R 5 to R 8 are the same as or different from each other, and are each independently a hydrogen atom, a hydroxyl group, a halogen atom, a nitrile group, a nitro group, an ester group, an ether group, an amino group, an imide group, a silane group, a thioester group, a substituted or unsubstituted, linear, branched, or cyclic alkyl group having 1 to 20 carbon atoms, a substituted or unsubstituted, linear, branched, or cyclic alkoxy group having 1 to 20 carbon atoms, a substituted or unsubstituted, linear, branched, or cyclic thioalkoxy group having 1 to 20 carbon atoms, a substituted or unsubstituted aryl group, or a substituted or unsubstituted heteroaryl group; two or more carbon atoms which are not adjacent to each other in R 5 to R 8 may be linked by O, S, NH, -NR 0 -, SiR 0 R 00 -, -CO-,-COO-, -OCO-, -OCOO-, -S-CO-, -CO-S-, -CH=CH-, a substituted or unsubstituted aryl group or a substituted or unsubstituted heteroaryl group, in which R 0 and R 00 are the same as or different from each other, and are each independently a hydrogen, an aryl group, or an alkyl group having 1 to 12 carbon atoms; two or more of R 5 to R 8 are bonded to each other to form a ring; x is a real number with 0<x≤1, y is a real number with 0≤y<1, z is a real number with 0≤z<1, and x+y+z=1; n is an integer of 10 to 1000; A and B are the same as or different from each other, and are each independently an aromatic group, a bivalent heterocyclic group having a conjugated structure, or an acyclic group as follows: R' and R" are the same as or different from each other, and may be each independently a hydrogen atom; a linear, branched, or cyclic alkoxy group; a nitrile group; and the dotted line is a portion linked to a backbone of the formula 2.