Author: shyam

Linking Your Mashape and StockViz Accounts

The StockViz API on Mashape allows programmers to not only build models, but also to place orders. These APIs are listed under the “Accounts” section. If you don’t have a trading account with us, these orders are “dummy” executed and your StockViz portfolio is kept in sync with your model trading activity. If you have a trading account with us, then we will call you first to confirm the order and then place the order for you. For this to work, you need to link your Mashape and StockViz accounts.

Linking Mashape and StockViz

Your Mashape user name can be found on the top-right corner of the page:

mashape username

In this case, the username is “drona”

Now, login to your StockViz account, and navigate to your portfolio.

mashape-stockviz

Under the “Accounts” tab, just enter your Mashape username (in our example, “drona” without the quotes) and hit “submit.”

That’s it. Now your Mashape and StockViz accounts are linked.

The StockViz API

The StockViz API is available on Mashape. We hope that programmers who want to get involved in quantitative trading/investing can make use of our API and build exciting models and strategies.

Why Mashape?

Rather than provide our own infrastructure for our APIs, we decided to host it on Mashape. Here are some the reasons why:

  1. You, as a programmer can “pipe” StockViz data through other APIs on Mashape – you can, for example, pipe our News API through a sentiment analysis API, or use an SMS API to send out alerts.
  2. You get a ready-made, transparent way of tracking your usage – metering for free.
  3. Your personal information is well protected – Mashape has been in this business for a while and have protection in place.
  4. Mashape comes with an issue tracker – you can post all of your problems/solutions/hacks/requests and get them answered in one place.
  5. You can consume the API in any programming language you like (there are 7 supported right out the gates.)

Why provide an API?

Increasingly, our users have been demanding increasing levels of customization. For instance, an alert whenever NIFTYBEES has a Golden Cross, and an alert based on option greeks have been our longest standing requests. Now, with a bit of computer savvy, you can build you own set of alerts to help guide your investing process.

Pricing

We have a “freemium” pricing model. Most users would be happy within the free tier. As your usage grows, you will be billed directly by Mashape.

Getting Started

  1. Register yourself on Mashape.
  2. Link your Mashape and StockViz accounts.
  3. Follow posts on our API section for tutorials, etc.

Indian Banks: What Next?

In a recent research report titled “India: No ‘banking’ on growth”, Goldman Sachs has some interesting analysis on Indian banks.

The borrowing spree of the previous few years is increasingly causing strains on banks’ balance sheets.

India corporate leverage

A sharp increase in stressed assets is a big overhang for the banking system and Indian banks’ Gross NPLs are the highest in the region. However, provisions for stressed assets are still low, and the lowest in the region.

indian stressed assets

The infrastructure sector contributes about 30% of total stressed assets, even though its share in total loans is only about 15%. Also, their research suggests that a 1% increase in real GDP growth will increase credit growth by 1.7%. So there could be significant positive spillover effects if clogged investment projects come on stream.

feedback loop

Basically, once GDP growth starts picking up, it will unclog the banking system. And the key to kick starting growth is to see the already-sanctioned projects through by removing bottlenecks.

Weekly Recap: something else is going to happen

Nifty weekly performance heatmap

The Nifty ended the week -0.24% (-0.18% in USD terms)

Index Performance

Saved by IT…

Index weekly performance

Top Winners and Losers

INDHOTEL +5.27%
HCLTECH +6.95%
TATAMOTORS +7.94%
CIPLA -10.48%
AMBUJACEM -7.18%
HINDALCO -6.11%
HCL Tech – the gift that keeps on giving?

ETFs

GOLDBEES +1.27%
BANKBEES -0.22%
NIFTYBEES -0.43%
INFRABEES -1.13%
PSUBNKBEES -2.32%
JUNIORBEES -2.43%
PSU Banks and Infrastructure are turning out to be the most hated sectors so far this year…

Advancers and Decliners

advancers and decliners

Investment Theme Performance

High beta continues to get crushed – will the real Modi rally please stand up?

Sector Performance

weekly sector performance

Yield curve

yield curve

Thought for the weekend

via Barry Ritholtz:

2014-Research

Analysts have been uniformly bearish on bonds and bearish on emerging market equities. To quote Rule No. 9 from Bob Farrell: “When all the experts and forecasts agree — something else is going to happen.”

Weekly Recap: Less is More

nifty weekly heatmap

The Nifty ended the week –0.43% (-0.17% in USD terms.)

Index Performance

IT corrected and pharma was boosted by expectation-beating earnings…

weekly index performance

Top Winners and losers

NTPC +7.51%
TATASTEEL +7.98%
COALINDIA +8.95%
BHEL -9.84%
ADANIENT -5.51%
SRTRANSFIN -5.41%
BHEL took a tumble. Just when you thought it couldn’t get any worse for the company, it did. But what a move in the metal stocks!

ETFs

JUNIORBEES +0.79%
GOLDBEES +0.34%
NIFTYBEES -0.19%
BANKBEES -0.58%
PSUBNKBEES -1.28%
INFRABEES -1.71%
Infrastructure continues to be in disfavor. Mid-caps saw a bit of a lift towards the end of the week.

Advancers and Decliners

If you stare hard enough, you can see the brown shoots:

advancers and decliners

Investment Theme Performance

This Quality-to-price theme has had an unbelievable ride so far. Time to rebalance.

Sector Performance

weekly sector performance

Thought for the weekend

Brief diagnostic interviews, lasting only five minutes each, were held with a series of patients at the time of their admission to hospital and then presented to groups of experienced psychiatrists who were required to make a diagnosis. The content of the interview was presented in three alternative ways — as a videotape, as an audiotape, or as a written transcript. It turned out that an accurate diagnosis could be made within the first few minutes of an interview and behavioural cues seem to be of little or no importance in this regard, irrespective of the medium (transcript, audio, etc…) i.e. less is more.

 

Source: Do Behavioral Cues Matter?