timing the market with dmndocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… ·...

20
TIMING THE MARKET WITH DMN Bruce Silver, Principal Bruce Silver Associates/methodandstyle.com [email protected]

Upload: lamtuyen

Post on 28-Aug-2018

225 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

TIMING THE MARKET

WITH DMNBruce Silver, PrincipalBruce Silver Associates/methodandstyle.com

[email protected]

Page 2: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

Basic Principle of Investing

• Buy low… sell high

Buy

Sell

Buy here

Page 3: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

What/When to Buy

• IBD popular CANSLIM

methodology for growth

investors

• IBD50: “leading stocks”

• Chart patterns: when to

buy

Page 4: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

IBD Base Patterns Determine Buy Point

Cup with handle

Double bottom

Flat base

Page 5: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

Patterns Must Be Identified “By Eye”

• …or purchased

from IBD

Page 6: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

Patterns Must Be Identified “By Eye”

• …or purchased

from IBD

• The challenge:

• Do it with DMN

Page 7: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

State Model

Start,

Breakout

Uptrend Consolidation

Flat base

Deep base

Cup

Cup with

handle

Double

bottom

Page 8: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

• Local max/min of daily prices serve as business events

• Current state + event data + rules State transition

• 3 possible transitions

out of Double bottom

state

“Mining” State from Event Log

max, >buy point

max, <=buy point or

min, <top half of base

min, >= top half of base

Page 9: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

Identify IBD Base Patterns

with DMN

• Bottom part smooths

data and finds MinMax

points

• StateTable implements

the state chart

• CurrentState reports

today’s status

Page 10: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

MinMaxTable• Each MinMax entry transitions to a new

“state” of the stock

• Certain states represent base patterns and

breakouts

Page 11: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

StateTable Rules

Page 12: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

StateTable Results

• Breakouts overlaid

on the weekly chart

Page 13: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

Deploy Decision Service to Trisotech Cloud

• Choice of either

form to enter input

data or REST API

• One-click

deployment

Page 14: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

Automating the Process

Leading stocks

(Excel)

1-year price

history

(barchart.com web

service)

Current state and

buy point (decision

service on Trisotech

cloud)

For each ticker

Update Excel

Page 15: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

Microsoft Flow Process Model• For each row in Excel table of

stocks…

• Get the ticker name

• Invoke the price history service

• Invoke the decision service with

price history, using custom

connector

• Map the return back to Excel

Page 16: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

Create a Custom Connector in Flow

1. Trisotech downloads

OpenAPI configuration file

automatically

2. Import in Flow to create

the connector

Page 17: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

Populate Excel with Current IBD50…

• …and Go!

Page 18: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

Results for Each Stock in Excel

Page 19: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

Get Ready for “Real” DMN

• One-click cloud deployment

• Microservice orchestration

• Low code tools

• Open source runtime

• Standards-based

• OpenAPI integration

• Enabling real solutions from “citizen developers”

(and actual developers too!)

Page 20: TIMING THE MARKET WITH DMNdocuments.bpm.com/bpmnext/bpmnext2018/presentations/methodand… · What/When to Buy • IBD popular CANSLIM methodology for growth investors • IBD50:

All Secrets Revealed• DMN Cookbook

• New book with Edson Tirelli

• Written for technical practitioners

• Anything you want to do with DMN• FEEL “cookbook”

• Smart Contracts

• Handling Variations

• Data Validation

• Service Deployment and Orchestration

• All models executable

• methodandstyle.com/dmn-cookbook

• https://www.amazon.com/dp/0982368186