Cook pasta in a pot, and drain. Heat olive oil in a heavy medium skillet over medium heat. Add onions, saute until translucent, about 3 minutes. Add garlic, saute for 1 minute. Add shrimp, cook 2 minutes and remove. Set aside. Add tomatoes and saute for 2-3 minutes. Add fish stock and wine, and reduce (about 4-6 minutes). Put shrimp back in and add basil. Mix in. Cook for 2 minutes, add salt and pepper to taste. Toss and mix with cooked pasta.