Package machina. October 7, 2016

Similar documents
Package schoenberg. June 26, 2018

Package painter. August 13, 2018

Package hcandersenr. January 20, 2019

Package RSentiment. October 15, 2017

Package rasterimage. September 10, Index 5. Defines a color palette

Package knitcitations

Autotask Integration Guide

Deltasoft Services M A N U A L LIBRARY MANAGEMENT. 1 P a g e SCHOOL MANAGEMENT SYSTEMS. Deltasoft. Services. User Manual. Aug 2013

Package colorpatch. June 10, 2017

FlexWATCH Smart Multi Viewer Player

REVISIONS LTR DESCRIPTION DATE APPROVED - Initial Release 11/5/07 MDB A ECR /9/08 MDB

EndNote Web. Quick Reference Card THOMSON SCIENTIFIC

administration access control A security feature that determines who can edit the configuration settings for a given Transmitter.

User Manual for ICP DAS WISE Monitoring IoT Kit -Microsoft Azure IoT Starter Kit-

MOI-V Linux dvblast tvheadend VDR Operating Instructions

VIDEO GRABBER. DisplayPort. User Manual

invr User s Guide Rev 1.4 (Aug. 2004)

QUICK START GUIDE QT ANALOG HD CAMERA & DVR BUNDLE ENGLISH

Package ForImp. R topics documented: February 19, Type Package. Title Imputation of Missing Values Through a Forward Imputation.

A b o u t K i o s k s G u i d e. About Kiosks Guide. Copyright WhosOnLocation Limited

INTRODUCTION TO ENDNOTE

Thieme Dissector Manual

***Please be aware that there are some issues of compatibility between all current versions of EndNote and macos Sierra (version 10.12).

X-Sign 2.0 User Manual

IxStream Headend. Quick Guide - Begin working with the IxStream headend. IX-Streamer, rev 1.1

QUICK START GUIDE. QT Analog HD Camera & DVR Bundle ENGLISH

Select source Click the Bio Settings button to modify device settings. Select Fingers Use Ctrl+Left mouse button to select multiple fingers to scan.

U S E R D O C U M E N T A T I O N. ALEPH Scan Interface

RED SCM Script User Manual

Franchise Broadcast Info

Encoder Modulator. IPTV Setup

Vision Call Statistics User Guide

Exercise #1: Create and Revise a Smart Group

H.264 HDMI Extender over IP Extender With LED, Remote, POE, RS232 Operating Instruction

My XDS Receiver- Affiliate Scheduler

Device Management Requirements

Editing Your Reading List

2G Video Wall Guide Just Add Power HD over IP Page1 2G VIDEO WALL GUIDE. Revised

Digital StoreFront JDF with non-efi JDF-Enabled Devices

7881IRDA Series QUICK START GUIDE

IPTV Features Guide - Version 1.1, Released April 2012 More information on our website 2

EtherneTV-STB Set Top Box

The user manual of LED display screen and RH-32G control card.

3. Give your project a title (suggestion: should be the same title as your Google Doc)

NSU Distance Delivery Teleconference Operations Polycom 2005

5620 SERVICE AWARE MANAGER. NTP Driver Version Guide

The following example shows creating an instance of the Files View, name FILES, version view called "MyFiles".

Screen Shot User Guide Clinical Agency

VS-TV. User manual. Virtual Matrix ENGLISH

ONSIGHT CONNECT FOR SMARTPHONES GUIDE

USING ENDNOTE X4: ADVANCED SKILLS

The Google Analytics of Things

ISE OBOE Release 1.0. Production Access Guide. Publication Date 29 th January 2018 Release Date 4 th December Version: 1.3

StreamServe Persuasion SP5 StreamServe Connect for SAP - Delivery Manager

Part 1 Basic Operation

Digital Display Monitors

GANZ Bridge Powered by

Main menu Top controls

IST Get It + Document Delivery. User Guide

Raspberry Pi, SenseHat and Weather Service

My XDS Receiver- Affiliate Scheduler

R4 AIS Class B Transponder

T3316 IP QAM Modulator User Manual

EndNote Web. (See EndNote Download for instructions on using that version)

AudioFetch User Manual 1

Laboratory stand description. Investigation of DVB-T/C/IPTV technologies

DETEXI Basic Configuration

Index Getting Started Finding your way around NexTV The Remote Control Getting the most from Melita NexTV Catching up on programmes from last week

AUTOPILOT DLM Satellite Downlink Manager USER GUIDE

WiFi Time Provider v1 for Arduino Nixie Clock Operating Instructions & Construction Manual

Getting Started with myevnts

Chunghwa Telecom Laboratories. CHT IoT Smart Platform and Ameba. Two-Way Communication Application. Case Instruction Document

EndNote for Windows. Take a class. Background. Getting Started. 1 of 17

NoodleTools Quick Start Guide. For Students & Teachers. For Teachers Only

AmbDec User Manual. Fons Adriaensen

BullCharts BullScan Manager a Tutorial

HD4112 Quad HDMI MPEG2 HD DVBT Encoder Modulator U S E R M A N U A L

E-MANUAL. Thank you for purchasing this Samsung product. To receive more complete service, please register your product at

CORIOmax Resolution Editor Programming Guide 2015/03/04

Introduction to EndNote X7

KWIC FOCUS December 2018

IPTV Middleware ipad ManageMyTVs Application User Guide

Android ManageMyTVs Application User Guide Version 3.0

CA Outbound Dialer Module. Operation Manual v1.1

Symphony Workflows. Barcoding and Maintaining Your Library s Collection

Digital TV. Connected. Amino Set Top Box Instructional Manual. Your pathway to the world. Digital TV powered by Celect Communications

Configuration guide TDH 800 DVB-S/S2 Module. TDH 800 DVB-S/S2 Module Version A EN triax.com

APN Remap Table Configuration Mode

Defining and Labeling Circuits and Electrical Phasing in PLS-CADD

Kylone MicroCMS Installation & Setup Guide for TBS IPTV System V1.0

CHENGDU DEXIN DIGITAL TECHNOLOGY CO., LTD

-TECH DIGITAL. Explore The High DefinitionWorld. Website: Hot Line: [US] USER MANUAL

FCC 398. Children's Television Programming Report

Quick installation and configuration guide STC

Grande2Go FAQs. 1. What is Grande2Go?

Overview. Shipped in the Venue Vizion Package: Simplified Integration Process. Installation consists of 6 easy steps:

How to Build A Table of Authorities in Word * By: Morgan Otway

48 TV Caller ID TV CALLER ID

EM7680 TV Streamer powered by LibreELEC Kodi

myevnts SYNDICATION QUICK START GUIDE AUGUST 2013

Transcription:

Type Package Package machina October 7, 2016 Title Machina Time Series Generation and Backtesting Version 0.1.6 Connects to <https://machi.na/> and allows the creation of time series, and running backtests on selected strategy if requested. Imports httr, jsonlite, lubridate, xts, rhandsontable, DT License GPL LazyData TRUE NeedsCompilation no Author Nelson Mark [aut], Gursky Michael [aut], Kamal Akram [ctb], Norton Tim [cre] Maintainer Norton Tim <tnorton@machi.na> Repository CRAN Date/Publication 2016-10-07 09:19:29 R topics documented: addrow........................................... 2 clearstrategy........................................ 3 closestrategy........................................ 3 drawrows.......................................... 4 endsession......................................... 5 getremotecharturl..................................... 5 getrow........................................... 6 getstrategy......................................... 7 liststrategies......................................... 8 machina........................................... 8 openstrategy........................................ 9 startsession......................................... 10 undostrategy........................................ 11 viewstrategy........................................ 12 1

2 addrow Index 13 addrow addrow This connects to the Machina web service, and adds a row to the open strategy. addrow( query, updatestrategy = TRUE, includedata = FALSE, startdate = NULL, enddate = NULL, = FALSE ) query This is the machina command, wrapped in quotes, adding a new row to the open strategy. Learn more about Machina query language at https://machi.na/docs. updatestrategy Not required, this will default to TRUE includedata startdate enddate Not required, this will default to FALSE Not required, this will default to NULL Not required, this will default to NULL Not required, this will default to FALSE This connects to Machina web service, and adds a row to the open strategy. This function adds a row to the open strategy. # addrow("ibm(o) xavg(25) ternary")

clearstrategy 3 clearstrategy clearstrategy This connects to the Machina web service, and clears all rows from the open strategy. clearstrategy(updatestrategy = TRUE, = FALSE) updatestrategy Not required, whether to update the strategy (default = TRUE) Not required, whether to produce output (default = FALSE) This connects to Machina web service, and clears all rows from the open strategy. This function and clears all rows from the open strategy. # clearstrategy() closestrategy closestrategy This connects to Machina web service, and closes the open strategy. closestrategy( = FALSE) Not required, whether to produce output (default = FALSE)

4 drawrows This connects to Machina web service, and closes the open strategy. This function closes the open strategy. # closestrategy() drawrows drawrows This adds one or multiple rows to a chart window at https://account.machi.na. drawrows(rowsarray,startdate = NULL,endDate = NULL,chartId='', = FALSE) rowsarray Not required, whether to produce output (default = FALSE) startdate Not required, start date (default = NULL) enddate Not required, end date (default = NULL) chartid Not required, chart ID (default = ) Not required, whether to produce output (default = FALSE) This adds one or multiple rows to a chart window at https://account.machi.na. This adds one or multiple rows to a chart window at https://account.machi.na. Akram Kamal # chart <- drawrows(c(2,3))

endsession 5 endsession endsession This connects to Machina web service, and ends your Machina session. endsession( = FALSE) Not required, whether to produce output (default = FALSE) This connects to Machina web service, and ends your Machina session. This function returns whether the session is successfully closed. # endsession() getremotecharturl getremotecharturl This opens the chart browser (https://account.machi.na/). It s not necessary to do this separately from drawrows, as drawrows will also open a charts browser. getremotecharturl(chartid='',openbrowser=true)

6 getrow chartid Not required, specify a chart id (default = ) openbrowser Not required, whether to open chart browser (https://account.machi.na/) (default = TRUE) This opens the chart browser (https://account.machi.na/). This opens the chart browser (https://account.machi.na/). Akram Kamal # getremotecharturl() getrow getrow This connects to the Machina web service, and gets a row, optionally with data. getrow( rowindex, includedata = FALSE, startdate = NULL, enddate = NULL, = FALSE ) rowindex includedata startdate enddate This is the row number to get (1-based) Not required, whether to include data (default = FALSE) This is the start date This is the end date Not required, whether to produce output (default = FALSE)

getstrategy 7 This connects to Machina web service, and gets a row, optionally with data. This function and gets a row, optionally with data. # rowdata <- getrow(21, includedata = TRUE) getstrategy getstrategy This connects to the Machina web service, and gets all the rows in the open strategy. getstrategy( = FALSE) Not required, whether to produce output (default = FALSE) This connects to Machina web service, and gets all the rows in the open strategy. This function and gets all the rows in the open strategy. # getstrategy()

8 machina liststrategies listmodels This connects to the Machina web service, and gets a list of your models. liststrategies( = FALSE) Not required, whether to produce output (default = FALSE) This connects to Machina web service, and and gets a list of your strategies. This function returns a list of your models. # liststrategies() machina Machina Time Series Generation and Backtesting Machina is an engine that allows for quick delivery of time series data, such as stock pricing info, fundamental data, and more, along with a smart backtester. Getting Connected To get connected to Machina engine, use this syntax: mydemo <-startsession("username", "pwd") startsession: opens a session enabling you to create new strategys, or modify existing ones. "username" and "pwd" are your username and password for Machina. They must be wrapped in quotes(").

openstrategy 9 Open a strategy A strategy contains an algo or groups of algos, that you are building into an integrated strategy. openstrategy("myfirststrategy") openstrategy: specifies the name of an existing strategy, or creates a new one if the strategy name used is either blank or not found. In this example, the strategy "myfirststrategy" is either opened, or a new one with that name is created. Add an algo row Adding an algo to your strategy is as simple as using addrow with your query. addrow("spy savg(10)") addrow: This adds a row to your strategy. In quotes use Machina query language. Learn more about Machina query language at https://machi.na/docs. Get more help Visit our quick-start guide and more documentation at https://machi.na/community. Don t see what you are looking for? Post your questions by clicking the Ask a Question button. Machina openstrategy openstrategy This connects to Machina web service, and opens a strategy to work in. openstrategy( strategyname = NULL, updatestrategy = TRUE, = FALSE ) strategyname If you know the name of the strategy, you can put it here. Not required, this will default to NULL updatestrategy Not required, default to TRUE. Not required, whether to produce output (default = FALSE) This connects to Machina web service, and opens your strategy.

10 startsession This function returns the Machina strategy object. # openstrategy(strategyname = "default") startsession startsession This connects to Machina web service, sending user credentials and other parameters if desired, and returns the machi.na session object to R. ) startsession( username = NULL, password = NULL, servicehost = "account.machi.na", protocol = "https", strategycallback = viewstrategy, = FALSE username password servicehost Your Machi.na user ID Your password Not required, this will default to account.machi.na protocol Not required, defaults to https strategycallback Not required, this will default to viewstrategy Not required, this will default to FALSE This connects to Machina web service, sending user credentials and other parameters if desired, and returns the Machina session object to R.

undostrategy 11 This function returns the Machina session object. # startsession("billy@email.com", "password") undostrategy undostrategy This connects to the Machina web service, and undoes last operation on the open strategy (addrow or clear). undostrategy(updatestrategy = TRUE, = FALSE) updatestrategy Not required, whether to update the strategy (default = TRUE) Not required, whether to produce output (default = FALSE) This connects to Machina web service, and undoes last operation on the open strategy (addrow or clear). This function and undoes last operation on the open strategy (addrow or clear). # undostrategy()

12 viewstrategy viewstrategy viewstrategy This outputs the open strategy rows in a data frame. viewstrategy( = FALSE) Not required, whether to produce output (default = FALSE) This outputs the open strategy rows in a data frame. This outputs the open strategy rows in a data frame. # viewstrategy()

Index Topic Machina add row strategy addrow, 2 Topic Machina clear strategy clearstrategy, 3 Topic Machina get row strategy getrow, 6 Topic Machina get strategy getstrategy, 7 Topic Machina list strategies liststrategies, 8 Topic Machina strategy closestrategy, 3 openstrategy, 9 Topic Machina undo strategy undostrategy, 11 Topic Machina view strategy viewstrategy, 12 Topic Machina endsession, 5 machina, 8 Topic chart strategy getremotecharturl, 5 Topic session Machina startsession, 10 Topic time series chart Machina drawrows, 4 liststrategies, 8 machina, 8 openstrategy, 9 STARTSESSION (startsession), 10 startsession, 10 undostrategy, 11 viewstrategy, 12 addrow, 2 clearstrategy, 3 closestrategy, 3 drawrows, 4 endsession, 5 getremotecharturl, 5 getrow, 6 getstrategy, 7 LISTSTRATEGIES (liststrategies), 8 13