The Dow Jones industrial average ended 11.23 points ahead at 19,945.
Investment bank Goldman Sachs led the risers, up 0.24%. The sportswear giant Nike led the fallers, down 1.2%.
The technology-heavy Nasdaq jumped 24.75 points to 5,487 while the S&P 500 added 5.09 points to 2,268.
Oil prices increased ahead of a deal to cut production.
Brent crude gained 1.7% to $56.09 per barrel while US crude also rose 1.7% to $53.90 a barrel.
The Opec cartel of oil producing nations have agreed to reduce output from 1 January 2017 by 1.2m barrels a day to a daily 32.5m barrels for at least six months.
Wall Street closed higher on Tuesday but surge needed to break through the 20,000 mark remained elusive.