• Home
  • Waitlist
  • Clippings
  • djiaanalysis
  • API - Make Money
EmmaAI

MM - INSTANCE API

Enables custom programmatic access to Emma's neural network that outputs investment and trade opportunities on select number of companies over a time period with embedded prior inference matrix and reasoning.

EMMAMANSIGETWTRADE

STRUCTURE

Company -Name of the Company
Symbol - Ticker Symbol
Direction - Direction of Trade or Investment (Buy or Sell)
Price Target - Expected Price Level within seven trading days
Stop Loss - Downside Protection
DelBel- Prior experience matrix score
Why -Cluster of words that explain Delbel
ID-ID 
Size- Optimal lot (share count) size
Time Period - Validity of Trade

FORMATS

XML

Type: ​application/xml, text/xml
​​<WTrade> <Company>sample Company</Company> <Symbol_Name>sample Symbol_Name</Symbol_Name> <Direction>sample Direction</Direction> <Price_Target>sample Price_Target</Price_Target> <Stop_Loss>sample Stop_Loss</Stop_Loss> <DelBel>sample DelBel</DelBel> <Why>sample Why</Why> <ID>sample ID</ID> <Size>sample Size</Size> </WTrade>

JSON

​Type: application/json
​{ "Company" : "sample Company", "Symbol_Name" : "sample Symbol_Name", "Direction" : "sample Direction", "Price_Target" : "sample Price_Target", "Stop_Loss" : "sample Stop_Loss", "DelBel" : "sample DelBel", "Why" : "sample Why", "ID" : "sample ID", "Size" : "sample Size" }

YAML

Type: ​application/x-yaml
--- Company: "sample Company" Symbol_Name: "sample Symbol_Name" Direction: "sample Direction" Price_Target: "sample Price_Target" Stop_Loss: "sample Stop_Loss" DelBel: "sample DelBel" Why: "sample Why" ID: "sample ID" Size: "sample Size"

REQUEST FORMATS

Curl:

curl --request GET \
 --url https://emmamansigetwtrade.restlet.net/v2/masters/{masterid} \
 --header 'accept: application/json' \
 --header 'authorization: Basic ZTBjOTZmNGEtNDViZi00MjIxLWFkYmMtMWM5ZTg3NTVkYmZkOjUxOGI2MjhhLTdkODgtNDg1ZS1iOTMxLWVlNWNlMDRmM2M0Mw==' \
 --header 'content-type: application/json' \
 --header 'host: emmamansigetwtrade.restlet.net'


Node:

var unirest = require("unirest");

var req = unirest("GET", "https://emmamansigetwtrade.restlet.net/v2/masters/{masterid}");

req.headers({
 "authorization": "Basic ZTBjOTZmNGEtNDViZi00MjIxLWFkYmMtMWM5ZTg3NTVkYmZkOjUxOGI2MjhhLTdkODgtNDg1ZS1iOTMxLWVlNWNlMDRmM2M0Mw==",
 "content-type": "application/json",
 "accept": "application/json",
 "host": "emmamansigetwtrade.restlet.net"
});


req.end(function (res) {
 if (res.error) throw new Error(res.error);

 console.log(res.body);
});


Java:

import org.restlet.resource.*;
ClientResource cr = new ClientResource("https://emmamansigetwtrade.restlet.net/v2/masters/{masterid}");
cr.accept(MediaType.APPLICATION_JSON);
ChallengeResponse credentials = new ChallengeResponse(ChallengeScheme.HTTP_BASIC);
       credentials
               .setRawValue("ZTBjOTZmNGEtNDViZi00MjIxLWFkYmMtMWM5ZTg3NTVkYmZkOjUxOGI2MjhhLTdkODgtNDg1ZS1iOTMxLWVlNWNlMDRmM2M0Mw==");
       cr.setChallengeResponse(credentials);
try {
   Representation representation = cr.get();
   System.out.println(representation.getText());
} catch (ResourceException e) {
   System.err.println("Status: " + e.getStatus() + ". Response: " + cr.getResponse().getEntityAsText());
}




Python:


import requests

url = "https://emmamansigetwtrade.restlet.net/v2/masters/{masterid}"

headers = {
   'host': "emmamansigetwtrade.restlet.net",
   'accept': "application/json",
   'content-type': "application/json",
   'authorization': "Basic ZTBjOTZmNGEtNDViZi00MjIxLWFkYmMtMWM5ZTg3NTVkYmZkOjUxOGI2MjhhLTdkODgtNDg1ZS1iOTMxLWVlNWNlMDRmM2M0Mw=="
   }

response = requests.request("GET", url, headers=headers)

print(response.text)

​

EXAMPLE RESPONSE

[ { "Time_Period": "Day", "Company": "BHP Billiton", "Why": "Mean Reversion ", "ID": "1", "Price_Target": "30.34", "Symbol_Name": "BBL", "DelBel": "0.76", "Direction": "Buy", "Stop_Loss": "27.65", "Size": "145000" }, { "Time_Period": "Week", "Company": "Cliffs Natural Resources Inc", "Why": "Management Event", "ID": "1", "Price_Target": "6.09", "Symbol_Name": "CLF", "DelBel": "0.59", "Direction": "Buy", "Stop_Loss": "5.23", "Size": "16000" }, { "Time_Period": "Day", "Company": "Costco Wholesale Corporation", "Why": "Mean Reversion", "ID": "1", "Price_Target": "164.25", "Symbol_Name": "COST", "DelBel": "0.63", "Direction": "Buy", "Stop_Loss": "159.52", "Size": "7000" } ]

URL

​https://emmamansigetwtrade.emmaai.com/v1/wTrades/

LIMITS

Each call is a compute cycle to generate a trade or investment. Restricted by IP. Performance Only Fees. Call for pricing. Custom deployments available.

GET KEY

Get API Key
Copyright 2016, We are in stealth :)
​Made with nerdy love in CA. Patents Pending.
  • Home
  • Waitlist
  • Clippings
  • djiaanalysis
  • API - Make Money