Tesla Inc. (TSLA) said in an SEC filing Tuesday it had extended $1.1 billion in warehouse loan agreements with Deutsche Bank (DB) .

Under the new terms, the agreements' borrowing availability was extended from Aug. 17, 2018 to Aug. 16, 2019. The agreements' maturity date was extended from September 2019 to September 2020. The aggregate lender commitment of $1.1 billion was unchanged.

Tesla shares rose 4% to $321.90 Tuesday. The stock has seen wide swings since CEO Elon Musk tweeted earlier this month that he had secured funding to take the electric vehicle maker private at $420 a share. 

Warehouse loan agreements are a tool used to help finance inventory.

Please see also:

More from Investing

Jim Cramer's Take on Netflix Earnings (and the Other FAANG Stocks)

Jim Cramer's Take on Netflix Earnings (and the Other FAANG Stocks)

Apple, Johnson & Johnson Team Up for Healthcare Project Involving Apple Watch

Apple, Johnson & Johnson Team Up for Healthcare Project Involving Apple Watch

Home Depot Stock Trades Lower on JPMorgan Price Cut

Home Depot Stock Trades Lower on JPMorgan Price Cut

Shares of JB Hunt Jump on Earnings Report

Shares of JB Hunt Jump on Earnings Report

Companies Call For Substantive Solution to Trade Tensions

Companies Call For Substantive Solution to Trade Tensions