Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature requests #134

Closed
wulabs opened this issue Aug 13, 2017 · 4 comments
Closed

Feature requests #134

wulabs opened this issue Aug 13, 2017 · 4 comments

Comments

@wulabs
Copy link

wulabs commented Aug 13, 2017

A few feature requests. Please point me in the direction if it is something on the roadmap or can be implemented using something else.

  1. External data
    Ability to take external signal/data feed to help make decisions. Simple example would be a polling request to a REST API that returns 0 or 1, and trade only when value is 1.

  2. Support for OHLC, resampled data.
    Resample price feed ask/bids into OHLC using ask/bid midpoint. Then resample into various timeframes (1min, 5min, etc).

    • Futures
      Support for * Futures
  3. Access to level 2 order book in real time.
    Would like to write custom logic around market depth / order book.

@ctubio
Copy link
Owner

ctubio commented Aug 13, 2017

Hello''
point 1 is not planned because is not a feature of general interest (an option is to run make start and make stop with some shell sccript for example while.. sleep.. curl.. if.. make..)
point 2 is already done, just click Watch link
point 3 can be done, but is not a priority
point 4 is out of my understanding

@wulabs
Copy link
Author

wulabs commented Aug 13, 2017

Thanks for the quick reply.

For #1, the idea is to take external signals. Such as multiple data sources (price, sentiment, events, etc). Is there a way I can hook this? either polling a DB or some zeromq or other messaging service?

For #4, you already grab the bid/ask. Why only grab the top bid/ask? why not grab the entire book? There is significantly more information knowing the structure of the entire book than just the top prices. If it is nonunderstanding of how to use the OB I would be happy to explain that to you offline.

@ctubio
Copy link
Owner

ctubio commented Aug 13, 2017

best way may be to simply listen to the websocket, you can test at https://www.websocket.org/echo.html using the same url as your bot but replace https:// by wss://

about the order book, the bot already knows not only the topBid and topAsk, but also all market levels; in some exchanges like in coinbase all market levels means more than 700 on each side

@CarlitoGrey
Copy link
Contributor

I totally forgot about the 'Watch' link, I've been using cryptowat.ch on a separate tab for each bot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants