GithubHelp home page GithubHelp logo

fcoin-python-sdk's People

Contributors

revotu avatar weiliuv 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fcoin-python-sdk's Issues

timestamp is out of range

新手 在登录认证出现这个返回 {'status': 6004, 'msg': 'timestamp is out of range'} 麻烦问一下如何解决,是timestamp的设置问题吗?

list_orders 函数返回异常

您好~ 很抱歉开了个 issue 打扰了
您写的这个库对帮助巨大,非常感谢您封装的这个库,谢谢!

在使用过程中,我也遇到了一点小问题,因此冒昧请教下,
就是 list_orders 这个函数, 我希望获取ltcusdt交易对下的所有未成交订单
当我不添加参数时,会返回

400 Client Error:  for url: https://api.fcoin.com/v2/orders
{"status":400,"msg":"Required String parameter 'symbol' is not present"}

当添加一个symbol参数,如 ltcusdt 时 ,则返回list_orders() takes 1 positional argument but 2 were given

请问是我添加参数的方式不对吗?要怎么样给这个函数添加参数呢?

(我使用的是python3版本,环境是osx和python3.6)

Create New Order Issue

Hi.
I've got a problem with buylimit & selllimit API.

Below the string is I used.
POSThttps://api.fcoin.com/v2/orders1533843540000symbol=btcusdt&side=sell&type=limit&price=6464.00000000&amount=0.02000000

But response is that
{
"status": 6005,
"msg": "api key check fail : {"status":1090,"msg":"Illegal API signature"}"
}

I used same encoding function to get balance and it works well.
Please help me how can I place order.

Regards.

大哥,api可以市价买卖吗?

我把type改为market,然后去掉价格,购买数量无论填多少都报错说我账户余额不够,但是明明够的,大哥,你有尝试通过api市价买卖吗

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.