STOCK ODDS API

GET https://www.stockodds.net/api/odds.php

Parameters

Parameter Description Data Type Input
user StockOdds User Name string
password StockOdds Password string
symbols Symbol List string
rangeBegin Range: Begin Date string
rangeEnd Range: End Date string
inputSignalType

Signal Type

Streak
OC = 0
CC =1
Pivot = 2
HHLL = 3
True Range = 4
True Range (%) = 5
Bin
Move (CC) = 100
Move (CO) = 101
Move (OC) = 102
Connors (3) = 103
Connors (14) = 104
RSI (2) = 107
RSI (14) = 108
%BB (2,20) = 109
%BB (2,50) = 110
Momentum (3) = 111
Momentum (5) = 112
Momentum (21) = 113
Momentum (63) = 114
Momentum (125) = 115
MFI (5) = 116
MFI (14) = 117
MFI (28) = 118
CCI = 119
%R (5) = 120
%R (14) = 121
%R (28) = 122
Stoch (5) = 123
Stoch (14) = 124
Stoch (28) = 125
Seasonality
Trading Day = 200
Day of Month = 201
Day of Week = 202
Weekly = 203
Monthly = 204
1st Friday = 205
3rd Friday = 206
Last Trading Day = 207
Tec Pattern
Doji Star = 300
Belt Hold = 301
Engulfing = 302
Gap = 303
Marubozu = 304
Reject High/Low = 305
U-Turn = 306
Hammer = 307
Harami = 308
Harami Cross = 309
Piercing = 310
Inverted Hammer = 311
Three White Soldiers = 312
Upside Gap Three Methods = 313
Morning Star = 314
Abandoned Baby = 315
Kicking = 316
integer
inputSignalValue

Input Signal Value

Fill it with value to filter the signal. Leave it blank to disable

Integer or float
inputPerfData

Output

OC = 0
CO = 1
CC = 2
CC (3) = 3
CC (5) = 4
CC (10) = 5
CC (20) = 6
CC (-2) = 7
CC (-3) = 8
CC (-5) = 9
integer
inputWatchlistType

Stock / Pairs

Stocks = 0
Pairs = 1
Stocks / SPY = 2
integer
inputFeedType

Feed

USA = 0
Europe = 1
Asia = 2
Europe Basic = 3
Asia Basic = 4
Canada = 5
integer
inputWatchlist

Watchlist

USA (Stock)
S&P 100 = 1
S&P 500 = 2
S&P 1500 = 3
ETF = 4
US Exchange Listed Operating Company = 5
Dow Jones Industrial Average = 6
NASDAQ 100 = 7
IG Markets US Share CFDs Underlying = 21
IG Markets US Share Shortable CFDs Underlying = 22
Russell 1000 = 23
Russell 2000 = 24
Russell 3000 = 25
CMC US Share CFDs Underlying = 26
USA (Pairs)
US Tradable Pairs = 8
XLB Components = 9
XLE Components = 10
XLF Components = 11
XLI Components = 12
XLK Components = 13
XLP Components = 14
XLU Components = 15
XLV Components = 16
XLY Components 17
USA (Stocks / SPY)
S&P 100 / SPY = 18
S&P 500 / SPY = 19
S&P 1500 / SPY = 20
Europe
Amsterdam = 1
Bruxelles = 2
Helsinki = 3
London = 4
Madrid = 5
Milan = 6
Oslo = 7
Paris = 8
Sweden = 9
Xetra = 10
Asia
Australia = 16
Hongkong = 17
Korea = 18
Malaysia = 19
Shanghai = 20
Singapore = 21
Tokyo = 22
Europe Basic
AEX = 23
BEL 20 = 24
CAC 40 = 25
DAX 30 = 26
Eurostoxx 50 = 27
FTSE100 = 28
IBEX 35 = 29
Italy 40 = 30
OMX Helsinki 25 = 31
OMX S30 = 32
Oslo 20 = 33
Asia Basic
ASX 20 = 38
China A50 = 39
Hang Seng = 40
KLCI = 41
KOSPI 50 = 42
Nikkei 225 = 43
STI = 44
Canada
Canadian Trading System = 45
Canadian Venture Exchange = 46
TSX Canada = 47
integer
inputTimeFrame

Time Frame

Daily = 0
Weekly = 1
Monthly = 2
integer
inputExploreDate Exploration Data (m/d/yyyy) string
inputBinSize Bin Size

Standard bin size:
Daily: 0.25, 0.5, 1.0
Weekly: 0.5, 1.0, 2.0
Monthly: 1, 2, 4

Special bin size:
Signal Type 109 and 110: 0.05,0.1,0.2
Signal Type 111, 112, 113: 1.0, 5.0, 10.0
Signal Type 103 - 125: 5.0, 10.0, 20.0
float
inputSeasonOption Seasonality Option

All Months = 0
Same Month = 1
integer
inputSeasonNextDay Seasonality Next Day (for Trading Day)

Normal = 0
Use Next Day = 1
integer
inputLookbackPeriod Lookback Period

Valid values:
Daily: 500, 1000, 1500, 2000
Weekly: 100, 200, 300, 400
Monthly: 25, 50, 75, 100
integer
inputPrice Enable Price Range

Disable: 0
Enable: 1
integer
inputPriceMin Minimum Price integer
inputPriceMax Maximum Price integer
inputVolumeType Volume Type

Volume in Money = 0
Volume in Shares = 1
integer
inputVolume Enable Minimal Volume

Disable: 0
Enable: 1
integer
inputVolumeMin Minimum Volume (mio) float
inputEventsMin Minimum Events integer
format Output Format

JSON = 0
CSV = 1
HTML Table = 2
integer
fileName File Name Prefix (applied to CSV format only) string
  
https://www.stockodds.net/api/odds.php

Response

If successful, this method returns a response body with the following structure:

{
  "header": [
    "Symbol",
    "Name",
    "Sector",
    "Industry",
    "Up Days",
    "Events",
    "Signal",
    "Hist Vol",
    "Last Perf",
    "Odds",
    "Sharpe",
    "Min Perf",
    "Max Perf",
    "Avg Perf",
    "S1 H",
    "S1 L",
    "Avg Gain",
    "S1 H Gain",
    "S1 L Gain",
    "Avg Loss",
    "S1 H Loss",
    "S1 L Loss",
    "Ret 2",
    "Ret 5",
    "LC",
    "Vol (M)",
    "True Range"
  ],
  "data": [
    [
      "AAPL",
      "Apple Inc Common",
      "Information Technology",
      "Technology Hardware, Storage & Peripher",
      "134",
      "253",
      "-1",
      "62.8",
      "-1.1351",
      "53.0",
      "0.0071",
      "-4.4697",
      "5.6533",
      "0.0096",
      "1.3524",
      "-1.3333",
      "0.4978",
      "1.2776",
      "-0.2821",
      "-0.4882",
      "0.3538",
      "-1.3302",
      "1.2530",
      "1.1478",
      "223.8400",
      "6,721.63",
      "N/A"
    ],
    [
      "ABBV",
      "AbbVie Inc Common",
      "Health Care",
      "Biotechnology",
      "131",
      "246",
      "-1",
      "93.6",
      "-0.6748",
      "53.3",
      "-0.0336",
      "-12.7612",
      "6.6041",
      "-0.0636",
      "1.8280",
      "-1.9553",
      "0.5954",
      "1.6497",
      "-0.4589",
      "-0.6590",
      "0.6378",
      "-1.9559",
      "2.6169",
      "1.6035",
      "95.6800",
      "437.31",
      "N/A"
    ],
    ...
    ...
    ]
}