• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

quantopian / zipline
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Repo Added 18 Jun 2014 05:52PM UTC
Files 183
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fixed-zero-last-sale-price
branch: fixed-zero-last-sale-price
CHANGE BRANCH
x
Reset
  • fixed-zero-last-sale-price
  • 1m_history_bugfix
  • 579
  • Order-In-Init-Error
  • actually-simple-transforms
  • add-max-drawdown-duration
  • add-multiplesymbols-extra
  • add-multiplesymbols-extras
  • add-security-class
  • add-security-fields
  • add_risk_to_datapanel
  • and-osx
  • asset-db-writer
  • asset-db-writer-legacy
  • asset-db-writer-update
  • asset-finder-backed-by-db
  • asset-finder-backed-by-db-2
  • avoid-dt-index-on-risk-update
  • before_trading_start
  • blotter_open_orders_2
  • blotter_perf_rebase
  • broker_order_statuses
  • bug_5089
  • bump_to_pandas_15
  • cache-event-processors
  • cache-treasury-curves-as-dataframe
  • calendar-clean
  • call-algo-initialize-after-init
  • check-travis-pip-install
  • clarify-assets-test
  • cleanup-asset-tests
  • cleanup_fastseries
  • conda-root-version
  • conda-updates
  • consume-metadata-error-text
  • context.account
  • daily-container-contruction
  • daily-mode-schedule-function
  • daily_returns
  • dale_perf
  • dividend-adjusted-price
  • dividend-pay-time
  • dividend-payout-timing
  • dividend_table
  • dnt-knowledge-date-move
  • dnt_list
  • dnt_list2
  • do_not_modify_security_lists_directory
  • docs
  • docs_mknotes
  • dont-copy-that-floppy
  • downgrade_logbook
  • dynamic-history-length-missing-dts
  • dynamic-history-still-not-right
  • end-of-year-rule
  • event-contains-uses-hasattr
  • event-manager-fixes
  • event-manager-rework
  • event-rule-additions
  • exception-on-nan-order-value
  • exchange-calendars-v2
  • expand_perf_packet
  • factor-out-position-calc-creation
  • fastseries
  • ffc-api-rebase
  • ffc-fixes
  • fix-get-datetime
  • fix-minute-bar-siblings
  • fix-zipline-magic
  • fix_3317
  • fix_api
  • fix_dividend_boundary_conditions
  • fix_history_columnar_assignment
  • fixes-for-asset-finder-integration
  • force-nose-install
  • futures-api
  • futures-auto-close
  • futures-auto-close-timing
  • futures-knowledge-date
  • futures-lookup-revisions
  • futures-trading
  • get-trading-minutes
  • get_datetime_tz_kwarg
  • group-events
  • history-cleanup
  • history-cleanup-rebase
  • history-cleanup-rebase-maint
  • history_perf_rebased
  • history_perf_rebased_2
  • history_support_daily_input
  • improve-risk-update-speed
  • just-fastseries
  • lazy-mainline
  • limit-slippage
  • loader_fixes
  • log-history-update-failure
  • lookup-future-chain-nat
  • master
  • max-leverage
  • minor_zipline_path_fix
  • more-detail-on-missing-benchmark-return
  • more-ffc-fixes
  • move-serialization-methods-into-zipline
  • moved-perf-tracker-assignment
  • net_liquidation_bug
  • new_tweak_warnings_module
  • no-more-threadbound
  • not-so-simple-transforms
  • off-by-one
  • open-orders-bug
  • optimize_history_update
  • order-target-update
  • ordered_pip_args
  • orders-by-modified-leak
  • pandas-16-upgrade
  • pandas15
  • pandas_index_union_fix
  • pandas_update
  • pandas_upgrade
  • param_set
  • pass-arrays-directly-to-risk-calcs
  • perf_tracker_backports_rebase
  • perf_tracker_rebase
  • pip-compiled
  • portfolio-init-error
  • position-dict-no-longer-uses-missing
  • position_tracker_refactor_post_serialization_rebase
  • pr/416
  • prevent-duplicate-dividends
  • pypi_update
  • q-or-zipline
  • q1-release
  • record-dynamic-naming
  • refactor_algo_simulator
  • refactor_sim_factory
  • remove-bar-count-source
  • remove-conda-install-of-nose
  • remove-dependency-on-intraday-risk-metrics
  • remove-event-count
  • remove-extra-metadata-pass
  • remove-identifier-caching
  • remove-more-transform
  • remove-noopy-asset-finder-test
  • remove-old-serialization-code
  • remove-overnight-minutes
  • remove-position-proxy
  • remove-repetitive-type-checking
  • remove-string-is-checks
  • remove-unused-property
  • remove-unused-returns
  • remove_deprecated_method
  • remove_unused_algorithm_methods
  • rename-security-to-asset
  • risk-metrics-float-cast
  • risk_beta_nans
  • root-symbol
  • rotate-anaconda-token
  • sane-setup
  • schedule-function-offsets
  • schedule-function-runtime-errors
  • schedule_check
  • serialization
  • setup_py_improvements
  • siddata_max_bars_rebase
  • skip_nans
  • splits_fixes
  • static-symbol-lookup
  • stop-record-changing-results
  • talib_optional
  • test-travis-python-3
  • the-schedule-function-journey-will-never-end
  • travis-build-fix-and-reduction-of-number-of-jobs
  • travis-pip-cache
  • tutorial3
  • unhashable-field
  • unroll-process-event
  • update-last-sale-pos-speedup
  • update-statsmodels-and-requirements-files
  • upgrade_nose_parameterized
  • use-filename-as-symbol
  • use-loggers
  • use-memory-views-for-risk-calc
  • use-notice-date
  • use-symbol-lookup-in-algo
  • use-tolerant-equals-for-order-target-percent
  • use_astimezone
  • v0.7.0
  • v0.7.0rc1
  • v0.8.0rc1
  • verbose-invalid-transform
  • verbose-order-init-error
  • visualize-ffc
  • volumeshare_fp_error
  • welcome-to-the-family
  • widebar_origin
  • widebar_origin_2
  • win10-setuptools

pending completion
1986

push

travis-ci

CaptainKanuk
BUG: Fixed random dips in returns as shown to user.

Previously the last sale price was not correctly being set on
positions when the transaction arrived before the trade event.
The last sale price was defaulted to zero and never updated. This resulted
in one holding stocks that were bough >>0 and now had value 0 from
the perspective of returns. The returns would display correctly again
when the next trade of that security happened. For most securities trading is
frequent enough that there's no issue, but for some illiquid ones it took
hours to fix itself.

Updated test_perf_tracking:TestPerformanceTracker.test_minute_tracker
This test was based on assuming that last_sale_price was zero,
allowing the sharpe ratio to be calculated. The sharpe ratio can no longer
be calculated for this specific tested scenario and the test has been changed
accordingly.

4 of 4 new or added lines in 2 files covered. (100.0%)

4218 of 4807 relevant lines covered (87.75%)

1.75 hits per line

Relevant lines Covered
Build:
Build:
4807 RELEVANT LINES 4218 COVERED LINES
1.75 HITS PER LINE
Source Files on fixed-zero-last-sale-price
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1986 fixed-zero-last-sale-price BUG: Fixed random dips in returns as shown to user. Previously the last sale price was not correctly being set on positions when the transaction arrived before the trade event. The last sale price was defaulted to zero and never updated. This res... push 29 Jul 2014 03:38PM UTC CaptainKanuk travis-ci pending completion  
1982 fixed-zero-last-sale-price BUG: Fixed random dips in returns as shown to user. Previously the last sale price was not correctly being set on positions when the transaction arrived before the trade event. The last sale price was defaulted to zero and never updated. This res... push 28 Jul 2014 07:08PM UTC CaptainKanuk travis-ci pending completion  
1981 fixed-zero-last-sale-price BUG: Fixed random dips in returns as shown to user. Previously the last sale price was not correctly being set on positions when the transaction arrived before the trade event. The last sale price was defaulted to zero and never updated. This res... push 28 Jul 2014 06:53PM UTC CaptainKanuk travis-ci pending completion  
See All Builds (5516)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc