Skip to main content

Integration with Twitter

  • Chapter
  • First Online:
Building Trading Bots Using Java
  • 1986 Accesses

Abstract

We have now reached probably the most exciting part of our journey in building the trading bot. Interacting with social media is probably one of the most important things a bot should be able to do. It probably wasn’t important a few years ago but now it is extremely so because most news, events, and leaks seem to appear on social media first, which affect the markets. The ability to subscribe to these feeds in realtime, make sense of them and make a decision, adds a layer of sophistication to any bot. Ours is no exception, except that we will not attempt to consume thousands of tweets per second but learn the basics of integrating with Twitter. We aim to achieve the following by the end of this chapter:

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://apps.twitter.com/app/new

  2. 2.

    http://docs.spring.io/spring-social/docs/1.0.x/reference/html/overview.html

  3. 3.

    http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jms/core/JmsTemplate.html

  4. 4.

    http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jdbc/core/JdbcTemplate.html

  5. 5.

    https://dev.twitter.com/overview/documentation

  6. 6.

    http://docs.spring.io/spring-social-twitter/docs/1.0.5.RELEASE/api/org/springframework/social/twitter/api/impl/TwitterTemplate.html

  7. 7.

    https://twitter.com/SignalFactory

  8. 8.

    https://twitter.com/ZuluTrader101

  9. 9.

    https://dev.twitter.com/rest/public/search

  10. 10.

    https://en.wikipedia.org/wiki/Double-checked_locking

  11. 11.

    https://twitter.com/Forex_EA4U

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Shekhar Varshney

About this chapter

Cite this chapter

Varshney, S. (2016). Integration with Twitter. In: Building Trading Bots Using Java. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2520-2_8

Download citation

Publish with us

Policies and ethics