GithubHelp home page GithubHelp logo

go-pine's People

Contributors

tsuz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

go-pine's Issues

Support strategy exit options

Exit Options

Item Supported
id
from_entry
qty
qty_percent
profit
limit
loss
stop
trail_price
trail_points
trail_offset
oca_name
oca_type
comment
comment_profit
comment_loss
comment_trailing

Support General Strategy Parameters

General Strategy

Item Supported
Initial Capital
Pyramiding
Commission
Verify Price for limit orders
Slippage
Margin for long positions
Margin for short positions
Recalculate after order is filled
Recalculate on every tick
Recalculate on bar close
Use bar magnifier

Support mathmatical operators

Mathematical Operators

Pine Script Go Pine
math.abs
math.acos
math.asin
math.atan
math.avg
math.ceil
math.cos
math.e
math.exp
math.floor
math.log
math.log10
math.max
math.min
math.phi
math.pi
math.pow pine.Pow
math.random
math.round
math.round_to_mintick
math.rphi
math.sign
math.sin
math.sqrt use pine.Pow(src, 0.5)
math.sum pine.Sum
math.tan
math.todegrees
math.toradians

Cleanup docs

Why

Information is scattered and the formatting is corrupt.

Next action

  • Fix formatting on godoc
  • Add backtest and pine doc on README
  • Move Data Integrity to godoc
  • Move supported features to another doc
  • Write use cases of this library in the README
  • Add examples on godoc for each indicator
  • Add issue template
  • Add PR template
  • Mention this is not production ready
  • Separate pine and backtest
  • Move backtest examples to Godoc

cleanup old code

Why

Older code and newer code are making documentation messy and it needs to be cleared up so it's easier to understand.

Reduce memory footprint: Parent ticket

Why

Out of memory error and high memory usage are blockers to running this in backtest or in live environment. These needs to be addressed to avoid failure scenarios.

Next steps

Item Issue/PR
Set max values per OHLCVSeries and ValueSeries #49
Re-use OHLCV attr series #58
Remove unused pointer reference #57

Support strategy actions

Action Item

Support below actions

Action Supported
strategy.entry
strategy.exit
strategy.cancel #42
strategy.cancel_all #42

Is this project stopped?

Hi there,
Great project!
I want to make some contribution for it, but wonder is this project still going on.

Support Indicators

Candidates

Pine Script Go Pine
ta.alma
ta.accdist
ta.atr
ta.barssince
ta.bb
ta.bbw
ta.cci #52
ta.change #25
ta.cmo
ta.cog
ta.correlation
ta.cross #55
ta.crossover #55
ta.crossunder #55
ta.cum
ta.dev
ta.dmi #53
ta.ema
ta.falling
ta.highest
ta.highestbars
ta.hma
ta.iii
ta.kc #54
ta.kcw
ta.linreg
ta.lowest
ta.lowestbars
ta.macd #28
ta.max
ta.median
ta.mfi #51
ta.min
ta.mode
ta.mom
ta.nvi
ta.obv
ta.percentile_linear_interpolation
ta.percentile_nearest_rank
ta.percentrank
ta.pivot_point_levels
ta.pivothigh
ta.pivotlow
ta.pvi
ta.pvt
ta.range
ta.rising
ta.rma
ta.roc #26
ta.rsi
ta.sar
ta.sma
ta.stdev
ta.stoch
ta.supertrend
ta.swma
ta.tr
ta.tsi
ta.valuewhen
ta.variance #27
ta.vwap
ta.vwma
ta.wad
ta.wma
ta.wpr
ta.wvad

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.