Giter Club home page Giter Club logo

Comments (6)

zhouaini528 avatar zhouaini528 commented on July 20, 2024

是的。很多接口还没有完善,但是底层接口是完善了的。exchanges-php它只是一个抽象层,你可以看它引用的包 bitmex okex等等,主要为了低耦合。如果你有特殊的需求你可以$exchanges->getPlatform()这个方法来获取。

from exchanges-php.

zhouaini528 avatar zhouaini528 commented on July 20, 2024

查询订单是有的点击$exchanges->trader()->show()。你可以看源码我封装在了buy sell里面,你也可以单独查询。

from exchanges-php.

ChenRuihua avatar ChenRuihua commented on July 20, 2024

谢谢你了。大概研究了一下源码,Account类下的position这个方法是做什么用的呢?

from exchanges-php.

zhouaini528 avatar zhouaini528 commented on July 20, 2024

这个算我留的一个小坑,其实没什么用,后面我再整理一下没有用的暂时不写出来。当初的设计**是这个SDK包含所有的交易所,现货市场okex huobi获取余额是Account Get ,而bitmex 是position。 我待会去备注一下,方便大家看源码。 这sdk还有很多未完善的地方,希望大家多多提意见哈

from exchanges-php.

ChenRuihua avatar ChenRuihua commented on July 20, 2024

谢谢,我主要是用火币。bitmex的api还没看过,打算写一个网格交易策略的机器人,让程序来炒币,人性太难控制了。所以还是交给机器靠谱。祝作者币圈大赚。

from exchanges-php.

zhouaini528 avatar zhouaini528 commented on July 20, 2024

如果以后不用其他平台可以直接用Huobi Api ,Exchanges也是基于它再次封装的,它可以满足你所有要求。 但是根据你说情况 我还是建议你用Exchanges 这个SDK,你就是买卖查询和查询余额应该能满足你所有的了。

from exchanges-php.

Related Issues (20)

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.