Description Usage Arguments Details Zipline Documentation
Lookup an equity for use in a flyingfox algorithm. These are often assigned
to variables in context
and are used in handle_data()
to perform computations
on the equity's historical prices, or to make an order.
1 2 3 4 5 6 7 8 9 | fly_symbol(symbol)
fly_symbols(symbol_list)
fly_future_symbol(symbol)
fly_set_symbol_lookup_date(dt)
fly_sid(sid)
|
symbol |
The string ticker symbol for the equity to lookup. |
symbol_list |
The ticker symbols to lookup. Passed as a list like |
dt |
The new symbol lookup date. A |
sid |
The unique integer that identifies an asset. |
fly_symbol()
- Lookup an Equity by its ticker symbol.
fly_symbols()
- Lookup multiple Equities as a list.
fly_future_symbol()
- Lookup a futures contract with a given symbol.
fly_set_symbol_lookup_date()
- Set the date for which symbols will be
resolved to their assets (symbols may map to different firms or underlying
assets at different times)
fly_sid()
- Lookup an Asset by its unique asset identifier.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.