         $scope.trades = MarketService.trades
         $scope.orders = MarketService.orders
         tabsym = market.quantity_symbol
-        $scope.tabs = [ { heading: "Buy #{tabsym}", route: "market.buy", active: true }, { heading: "Sell #{tabsym}", route: "market.sell", active: false }, { heading: "Short #{tabsym}", route: "market.short", active: false } ]
+        $scope.tabs.push { heading: "Buy #{tabsym}", route: "market.buy", active: true }
+        $scope.tabs.push { heading: "Sell #{tabsym}", route: "market.sell", active: false }
+        unless market.quantity_asset.id == 0
+            $scope.tabs.push { heading: "Short #{tabsym}", route: "market.short", active: false }
         Observer.registerObserver(market_data_observer)
         balances = {}
         balances[market.base_symbol] = 0.0

    $scope.accounts = []
    $scope.account = account = {name: account_name, base_balance: 0.0, quantity_balance: 0.0}
    current_market = null

    account_balances_observer =
        name: "account_balances_observer"

        $scope.accounts.splice(0, $scope.accounts.lenght)
        for k,a of Wallet.accounts
            $scope.accounts.push a if a.is_my_account

    $scope.$on "$destroy", ->
        Observer.unregisterObserver(market_data_observer)
