Embedded Python Real-Time FrameWork : API  Build 20250616.1
 All Classes Namespaces Files Functions Variables Pages
pyRT.apps.warp.Simple Namespace Reference

Simple Examples: More...

Namespaces

 DelayOpen
 Delay publication of Initial Image.
 
 FieldMap
 'Fan out' fields at publication time as follows:
 
 HelloWorld
 
 MsgCount
 Calculate and publish Message Rate every 60 secs (configurable) for user-defined data sets defined by either RegExp or ticker list.
 
 NickelSpreader
 Simple example to widen quote spread by 0.05 (a nickel):

  1. Hook BID, ASK real-time fields
  2. Deduct a _NICKEL from BID
  3. Add a _NICKEL to ASK.

 
 NoWarp
 The simplest example : Pipe from Tape to TREP / MDDirect.
 
 PubStale
 Publish STALE status on command from user.
 
 QuoteWarp
 Warp BID, ASK, LAST from prices in Pre-Market Risk file (scraped from Google)

  1. Load Pre-Market risk file from Google
  2. Hook BID, ASK, LAST real-time fields
  3. Add Offset from Pre-Market Risk File to BID, ASK, LAST.

 
 ReplayCtl
 
  1. Pipe from Tape to TREP / MDDirect
    1. Replay Control

 
 RestrictedList
 Hook DSPLY_NAME : Add '[R]'.
 
 Snap
 
 SpreadQuote
 Simple example to flip BID and ASK to break downstream apps.
 
 TradeCount
 

Detailed Description

Simple Examples:

  • Quote Spreading and Flipping
  • Hello World
  • Trade Counting
  • Message Count