aravindh-be / pyine

A package for pine script based trading in python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TODO

Language Operators

Already Implemented in Base Python

!=

%

%=

*

*=

+

+=

-

-=

/

/=

<

<=

==

=>

>

>=

and

Implemented but needs work

false

for

for...in

if

not

or

true

while

Needs implementing

?:

- Conditional Operator

[]

- Item Indexing [TII]

array

- Array Declarataion

bool

- Bool Declaration

box

- Plot

color

- Plot

export

- Export {?}

float

- Float Declaration

import

- Not implementing

int

- Int Declaration

label

- Plot

line

- Plot

linefill

- Plot

matrix

- Matrix {?}

series

- Series {?} ~ Base series class

simple

- Simple {?}

string

- String Declaration 

switch

- Case / Switch

table

- Plot

var

- Var Declaration

varip

- {?}

Base Variables

Already Implemented

Needs Implementing

adjustment.dividends

adjustment.none

adjustment.splits

alert.freq_all

alert.freq_once_per_bar

alert.freq_once_per_bar_close

bar_index

barmerge.gaps_off

barmerge.gaps_on

barmerge.lookahead_off

barmerge.lookahead_on

barstate.isconfirmed

barstate.isfirst

barstate.ishistory

barstate.islast

barstate.islastconfirmedhistory

barstate.isnew

barstate.isrealtime

box.all

chart.bg_color

chart.fg_color

chart.is_heikinashi

chart.is_kagi

chart.is_linebreak

chart.is_pnf

chart.is_range

chart.is_renko

chart.is_standard

chart.left_visible_bar_time

chart.right_visible_bar_time

close

color.aqua

color.black

color.blue

color.fuchsia

color.gray

color.green

color.lime

color.maroon

color.navy

color.olive

color.orange

color.purple

color.red

color.silver

color.teal

color.white

color.yellow

currency.AUD

currency.BTC

currency.CAD

currency.CHF

currency.ETH

currency.EUR

currency.GBP

currency.HKD

currency.JPY

currency.KRW

currency.MYR

currency.NOK

currency.NONE

currency.NZD

currency.RUB

currency.SEK

currency.SGD

currency.TRY

currency.USD

currency.USDT

currency.ZAR

dayofmonth

dayofweek

dayofweek.friday

dayofweek.monday

dayofweek.saturday

dayofweek.sunday

dayofweek.thursday

dayofweek.tuesday

dayofweek.wednesday

display.all

display.data_window

display.none

display.pane

display.price_scale

display.status_line

dividends.gross

dividends.net

earnings.actual

earnings.estimate

earnings.standardized

extend.both

extend.left

extend.none

extend.right

font.family_default

font.family_monospace

format.inherit

format.mintick

format.percent

format.price

format.volume

high

hl2

hlc3

hlcc4

hline.style_dashed

hline.style_dotted

hline.style_solid

hour

label.all

label.style_arrowdown

label.style_arrowup

label.style_circle

label.style_cross

label.style_diamond

label.style_flag

label.style_label_center

label.style_label_down

label.style_label_left

label.style_label_lower_left

label.style_label_lower_right

label.style_label_right

label.style_label_up

label.style_label_upper_left

label.style_label_upper_right

label.style_none

label.style_square

label.style_text_outline

label.style_triangledown

label.style_triangleup

label.style_xcross

last_bar_index

last_bar_time

line.all

line.style_arrow_both

line.style_arrow_left

line.style_arrow_right

line.style_dashed

line.style_dotted

line.style_solid

linefill.all

location.abovebar

location.absolute

location.belowbar

location.bottom

location.top

low

math.e

math.phi

math.pi

math.rphi

minute

month

na

ohlc4

open

order.ascending

order.descending

plot.style_area

plot.style_areabr

plot.style_circles

plot.style_columns

plot.style_cross

plot.style_histogram

plot.style_line

plot.style_linebr

plot.style_stepline

plot.style_stepline_diamond

position.bottom_center

position.bottom_left

position.bottom_right

position.middle_center

position.middle_left

position.middle_right

position.top_center

position.top_left

position.top_right

scale.left

scale.none

scale.right

second

session.extended

session.isfirstbar

session.isfirstbar_regular

session.islastbar

session.islastbar_regular

session.ismarket

session.ispostmarket

session.ispremarket

session.regular

shape.arrowdown

shape.arrowup

shape.circle

shape.cross

shape.diamond

shape.flag

shape.labeldown

shape.labelup

shape.square

shape.triangledown

shape.triangleup

shape.xcross

size.auto

size.huge

size.large

size.normal

size.small

size.tiny

splits.denominator

splits.numerator

strategy.account_currency

strategy.cash

strategy.closedtrades

strategy.commission.cash_per_contract

strategy.commission.cash_per_order

strategy.commission.percent

strategy.direction.all

strategy.direction.long

strategy.direction.short

strategy.equity

strategy.eventrades

strategy.fixed

strategy.grossloss

strategy.grossprofit

strategy.initial_capital

strategy.long

strategy.losstrades

strategy.max_contracts_held_all

strategy.max_contracts_held_long

strategy.max_contracts_held_short

strategy.max_drawdown

strategy.max_runup

strategy.netprofit

strategy.oca.cancel

strategy.oca.none

strategy.oca.reduce

strategy.openprofit

strategy.opentrades

strategy.percent_of_equity

strategy.position_avg_price

strategy.position_entry_name

strategy.position_size

strategy.short

strategy.wintrades

syminfo.basecurrency

syminfo.currency

syminfo.description

syminfo.mintick

syminfo.pointvalue

syminfo.prefix

syminfo.root

syminfo.session

syminfo.ticker

syminfo.tickerid

syminfo.timezone

syminfo.type

syminfo.volumetype

ta.accdist

ta.iii

ta.nvi

ta.obv

ta.pvi

ta.pvt

ta.tr

ta.vwap

ta.wad

ta.wvad

table.all

text.align_bottom

text.align_center

text.align_left

text.align_right

text.align_top

text.wrap_auto

text.wrap_none

time

time_close

time_tradingday

timeframe.isdaily

timeframe.isdwm

timeframe.isintraday

timeframe.isminutes

timeframe.ismonthly

timeframe.isseconds

timeframe.isweekly

timeframe.multiplier

timeframe.period

timenow

volume

weekofyear

xloc.bar_index

xloc.bar_time

year

yloc.abovebar

yloc.belowbar

yloc.price

Base Functions

Already Implemented

Needs Implementing

alert

alertcondition

array.abs

array.avg

array.binary_search

array.binary_search_leftmost

array.binary_search_rightmost

array.clear

array.concat

array.copy

array.covariance

array.fill

array.from

array.get

array.includes

array.indexof

array.insert

array.join

array.lastindexof

array.max

array.median

array.min

array.mode

array.new

array.new_bool

array.new_box

array.new_color

array.new_float

array.new_int

array.new_label

array.new_line

array.new_linefill

array.new_string

array.new_table

array.percentile_linear_interpolation

array.percentile_nearest_rank

array.percentrank

array.pop

array.push

array.range

array.remove

array.reverse

array.set

array.shift

array.size

array.slice

array.sort

array.sort_indices

array.standardize

array.stdev

array.sum

array.unshift

array.variance

barcolor

bgcolor

bool

box

box.copy

box.delete

box.get_bottom

box.get_left

box.get_right

box.get_top

box.new

box.set_bgcolor

box.set_border_color

box.set_border_style

box.set_border_width

box.set_bottom

box.set_extend

box.set_left

box.set_lefttop

box.set_right

box.set_rightbottom

box.set_text

box.set_text_color

box.set_text_font_family

box.set_text_halign

box.set_text_size

box.set_text_valign

box.set_text_wrap

box.set_top

color

color.b

color.from_gradient

color.g

color.new

color.r

color.rgb

color.t

dayofmonth

dayofweek

fill

fixnan

float

hline

hour

indicator

input

input.bool

input.color

input.float

input.int

input.price

input.session

input.source

input.string

input.symbol

input.text_area

input.time

input.timeframe

int

label

label.copy

label.delete

label.get_text

label.get_x

label.get_y

label.new

label.set_color

label.set_size

label.set_style

label.set_text

label.set_text_font_family

label.set_textalign

label.set_textcolor

label.set_tooltip

label.set_x

label.set_xloc

label.set_xy

label.set_y

label.set_yloc

library

line

line.copy

line.delete

line.get_price

line.get_x1

line.get_x2

line.get_y1

line.get_y2

line.new

line.set_color

line.set_extend

line.set_style

line.set_width

line.set_x1

line.set_x2

line.set_xloc

line.set_xy1

line.set_xy2

line.set_y1

line.set_y2

linefill

linefill.delete

linefill.get_line1

linefill.get_line2

linefill.new

linefill.set_color

math.abs

math.acos

math.asin

math.atan

math.avg

math.ceil

math.cos

math.exp

math.floor

math.log

math.log10

math.max

math.min

math.pow

math.random

math.round

math.round_to_mintick

math.sign

math.sin

math.sqrt

math.sum

math.tan

math.todegrees

math.toradians

matrix.add_col

matrix.add_row

matrix.avg

matrix.col

matrix.columns

matrix.concat

matrix.copy

matrix.det

matrix.diff

matrix.eigenvalues

matrix.eigenvectors

matrix.elements_count

matrix.fill

matrix.get

matrix.inv

matrix.is_antidiagonal

matrix.is_antisymmetric

matrix.is_binary

matrix.is_diagonal

matrix.is_identity

matrix.is_square

matrix.is_stochastic

matrix.is_symmetric

matrix.is_triangular

matrix.is_zero

matrix.kron

matrix.max

matrix.median

matrix.min

matrix.mode

matrix.mult

matrix.new

matrix.pinv

matrix.pow

matrix.rank

matrix.remove_col

matrix.remove_row

matrix.reshape

matrix.reverse

matrix.row

matrix.rows

matrix.set

matrix.sort

matrix.submatrix

matrix.sum

matrix.swap_columns

matrix.swap_rows

matrix.trace

matrix.transpose

max_bars_back

minute

month

na

nz

plot

plotarrow

plotbar

plotcandle

plotchar

plotshape

request.dividends

request.earnings

request.economic

request.financial

request.quandl

request.security

request.security_lower_tf

request.splits

runtime.error

second

str.contains

str.endswith

str.format

str.length

str.lower

str.match

str.pos

str.replace

str.replace_all

str.split

str.startswith

str.substring

str.tonumber

str.tostring

str.upper

strategy

strategy.cancel

strategy.cancel_all

strategy.close

strategy.close_all

strategy.closedtrades.commission

strategy.closedtrades.entry_bar_index

strategy.closedtrades.entry_id

strategy.closedtrades.entry_price

strategy.closedtrades.entry_time

strategy.closedtrades.exit_bar_index

strategy.closedtrades.exit_id

strategy.closedtrades.exit_price

strategy.closedtrades.exit_time

strategy.closedtrades.max_drawdown

strategy.closedtrades.max_runup

strategy.closedtrades.profit

strategy.closedtrades.size

strategy.convert_to_account

strategy.convert_to_symbol

strategy.entry

strategy.exit

strategy.opentrades.commission

strategy.opentrades.entry_bar_index

strategy.opentrades.entry_id

strategy.opentrades.entry_price

strategy.opentrades.entry_time

strategy.opentrades.max_drawdown

strategy.opentrades.max_runup

strategy.opentrades.profit

strategy.opentrades.size

strategy.order

strategy.risk.allow_entry_in

strategy.risk.max_cons_loss_days

strategy.risk.max_drawdown

strategy.risk.max_intraday_filled_orders

strategy.risk.max_intraday_loss

strategy.risk.max_position_size

string

syminfo.prefix

syminfo.ticker

ta.alma

ta.atr

ta.barssince

ta.bb

ta.bbw

ta.cci

ta.change

ta.cmo

ta.cog

ta.correlation

ta.cross

ta.crossover

ta.crossunder

ta.cum

ta.dev

ta.dmi

ta.ema

ta.falling

ta.highest

ta.highestbars

ta.hma

ta.kc

ta.kcw

ta.linreg

ta.lowest

ta.lowestbars

ta.macd

ta.max

ta.median

ta.mfi

ta.min

ta.mode

ta.mom

ta.percentile_linear_interpolation

ta.percentile_nearest_rank

ta.percentrank

ta.pivot_point_levels

ta.pivothigh

ta.pivotlow

ta.range

ta.rising

ta.rma

ta.roc

ta.rsi

ta.sar

ta.sma

ta.stdev

ta.stoch

ta.supertrend

ta.swma

ta.tr

ta.tsi

ta.valuewhen

ta.variance

ta.vwap

ta.vwma

ta.wma

ta.wpr

table

table.cell

table.cell_set_bgcolor

table.cell_set_height

table.cell_set_text

table.cell_set_text_color

table.cell_set_text_font_family

table.cell_set_text_halign

table.cell_set_text_size

table.cell_set_text_valign

table.cell_set_tooltip

table.cell_set_width

table.clear

table.delete

table.merge_cells

table.new

table.set_bgcolor

table.set_border_color

table.set_border_width

table.set_frame_color

table.set_frame_width

table.set_position

ticker.heikinashi

ticker.kagi

ticker.linebreak

ticker.modify

ticker.new

ticker.pointfigure

ticker.renko

time

time_close

timeframe.change

timeframe.in_seconds

timestamp

weekofyear

year###

]

About

A package for pine script based trading in python.

License:MIT License


Languages

Language:Python 92.6%Language:CSS 7.4%