NAME
Finance::Alpaca::TradeStream - A Streaming, Account and Order Updates Object
SYNOPSIS
use Finance::Alpaca;
my $stream = Finance::Alpaca->new( ... )->trade_stream(
sub ($packet) { ...; }
);
Mojo::IOLoop->start unless Mojo::IOLoop->is_running;
DESCRIPTION
Finance::Alpaca::TradeStream receives real-time activity data and passes it on to your callback as Finance::Alpaca::TradeUpdate objects.
LICENSE
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.
AUTHOR
Sanko Robinson <sanko@cpan.org>