PyneCore v6.14.1 released — request.security now works in live trading, and the live…

Features

  • request.security() runs in live mode: symbols resolve through the chart’s provider, and a close that arrives late is fetched from the history. A symbol the provider cannot serve raises the new R0055.
  • The live stream refills bars missed during an outage after it reconnects, and fetches any close the socket missed from the history, for every provider.
  • Bars that arrive too late to be the live edge still run the script but place no orders, so catch-up bars no longer trade.
  • New live provider declarations: history_publish_lag, history_has_idle_bars, stream_closes_match_history, history_revises_before_lag.
  • download_provider_history(..., in_memory=True) keeps the history in memory, so it no longer overwrites a saved dataset.

Fixes

  • Broker: after a restart, an entry whose earlier send was still unresolved could be sent again and open the position twice. It now waits until that send is resolved.
  • Running the compiled .py reported the Pine line in coded errors. It now reports the Pyne code’s location, and the Pine line only when pyne run is given the .pine source.
  • Importing pynecore.core.syminfo or pynecore.core.live_runner first failed with an ImportError.

Full release notes: https://github.com/PyneSys/pynecore/releases/tag/v6.14.1

This website uses cookies and similar technologies. By continuing to use the site, you accept this. Details in our Privacy Policy.