Giter VIP home page Giter VIP logo

grid-trading's People

Contributors

chenzhuosteve 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

grid-trading's Issues

加码的方式

我看E大的加码方式是加在金额上,然后依次推导出数量.
比如第一次买入10000元,每股2块.一共买入5000股
加码5%,幅度5%之后是
买入10500元.每股1.9元. 是5526股.

卖出金额是不是计算的不对.

卖出金额=卖出股数 X 卖出价格
是不是?
但是当卖出价格小于1并且精确到小数点后三位的时候 比如 价格是0.85 网格百分比是5% 这个时候第一格的卖出价格是 0.892
然后购买数量比较大时 比如11100
这个时候计算的卖出金额就不对.应该是 0.892 X 11100 = 9901.2
而工具计算的是 9906.750¥

网格策略咨询

正在试着用python把E大的网格策略模拟出来,就是大佬网页上呈现的那个表格,请问可以解释一下思路吗

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.