The top stocks to gain during after-market hours on the Nasdaq on Tuesday were FX Energy Inc, NetApp Inc, Canadian Solar Inc, DryShips Inc, and AcelRx Pharmaceuticals Inc. The top after-market losers on the Nasdaq were AMAG Pharmaceuticals Inc, Zumiez Inc, Analog Devices Inc, and Staples Inc.

Gainers

FX Energy Inc. (NASDAQ:FXEN) shares climbed 4.29 percent to $38.03 in post-market trading. The company stock surged more than 38 percent in regular trading on Tuesday. The company reported that Tuchola-3K well flowed with gas at rates ranging from 3.8 million to 5.5 million cubic feet of gas per day with no water during a production test. The company plans to collect the final data from the downhole pressure gauges and finish completing the well for production.

NetApp Inc. (NASDAQ:NTAP) shares rose 3.63 percent to $36.63 in post-market trading. The company said on Tuesday after the market hours that it has increased its current stock repurchase program, of which $1.4 billion remains outstanding, by an additional $1.6 billion.  Additionally, NetApp said it has initiated a quarterly cash dividend of $0.15 per share, payable on July 23 to shareholders of record as of July 11. The company also reported its fourth quarter profit that dropped 4 percent from last year. However, the company's quarterly earnings per share, excluding items, came in above analysts' expectations.

Canadian Solar Inc. (NASDAQ:CSIQ) shares advanced 2.38 percent to $8.60 in post-market trading. The company announced that a Chinese court has ruled in its favor over a $40.1 million dispute with LDK Solar Co. Ltd., a Chinese manufacturer of wafers for PV systems.  

DryShips Inc. (NASDAQ:DRYS) shares gained 1.78 percent to $2.29 in post-market trading. The company stock has a 52-week low of $1.46, a 52-week high of $2.74 and $908.47 million in market capitalization.

AcelRx Pharmaceuticals Inc. (NASDAQ:ACRX) shares rose 1.56 percent to $6.50 in post-market trading. The company stock has a 52-week low of $2.27, a 52-week high of $7.42 and $237.18 million in market capitalization.

Losers

AMAG Pharmaceuticals Inc. (NASDAQ:AMAG) shares plunged 5.30 percent to $23.75 in post-market trading. Amag Pharmaceuticals Inc said its marketing partner in Switzerland, Takeda Pharmaceutical Co Ltd, is recalling a batch of Amag's anemia drug, Rienso, because of a death and several cases of hypersensitivity.

Zumiez Inc. (NASDAQ:ZUMZ) shares fell 2.71 percent to $32.25 in post-market trading. The company stock has a 52-week low of $17.93, a 52-week high of $41.96 and $994.15 million in market capitalization.

Analog Devices Inc. (NASDAQ:ADI) shares declined 1.98 percent to $45.64 in post-market trading. The company on Tuesday reported a second quarter profit in-line with the analysts' estimate of $0.52. Revenue for the quarter came in at $659 million versus the consensus estimate of $660.84 million. The company expects third quarter 2013 EPS to be in the range of $0.51 to $0.56, versus the consensus estimate of $0.58.

Staples Inc. (NASDAQ:SPLS) shares dropped 1.69 percent to $14.50 in post-market trading. The company stock has a 52-week low of $10.57, a 52-week high of $15.19 and $9.86 billion in market capitalization.