Skip to content

Releases: uberdeveloper/omspy

v0.19.0

09 Dec 13:52
Compare
Choose a tag to compare

0.19.0

Breaking Changes

  • Kotak broker removed. Deprecated code available at omspy-brokers

Features

  • New algo for trailing added in algos/trailing
  • New broker Noren added

Improvements

  • FakeBroker return formats improved. See #42
  • All brokers must return orders as empty list if no orders are found (instead of a dictionary inside list or other format)

Fixes

  • exch_tm error fixed for Finvasia broker #46.
  • ReplicaBroker not to raise error if instruments not available #41.

Full Changelog: v0.18.0...v0.19.0

v0.18.0

16 Nov 19:37
Compare
Choose a tag to compare

0.18.0

Features

  • STOP order simulation added to OrderFill #40
  • utils.load_broker to automatically load broker from credentials file

Improvements

  • finvasia broker upgraded to Norenapi version 0.3
  • #38 All brokers to be initialized to None
  • #39 All broker connections to be done only during authentication
  • extra attribute added to yaml files for all brokers
  • pytop library added to main dependency

Fixes

  • orders property for all brokers to return empty list in case of errors (no empty dictionary inside list)
  • Neo broker orders property to infer side automatically
  • Icici broker proper data conversion for orders
  • #35 when both random numbers are same, the end number is changed automatically to prevent raising error

Full Changelog: v0.17.0...v.18.0

Patch for zerodha headless mode

07 Nov 04:19
Compare
Choose a tag to compare

Patch for zerodha headless mode

Full Changelog: v0.16.0...v0.17.1

Better support for newer python versions

07 Nov 03:51
Compare
Choose a tag to compare

Replica Broker release

30 Aug 16:49
Compare
Choose a tag to compare

A new class ReplicaBroker added to virtual brokers.

Primary purpose of this class is to mimic real trading by simulating order fills based on real data from broker

Neo Broker

04 Aug 10:57
Compare
Choose a tag to compare

New Neo broker added

VirtualBroker module and typing improvements

25 Mar 17:46
Compare
Choose a tag to compare

0.14.0

Improvements to the VirtualBroker module

Features

Following features added to VirtualBroker

  • VirtualBroker methods to match FakeBroker methods
  • Users added, orders can be placed and managed based on user
  • Order status could be fetched based on Status
  • delay attribute added to broker
  • Ticker model improved with ohlc and orderbook methods

Improvements

  • iterate_method made generic
  • Ticker model now moved to models

v0.13.0

11 Mar 16:44
Compare
Choose a tag to compare

0.13.0

  • New FakeBroker class added to simulation
  • API added for generating fake data in omspy.simulation.server

New simulation module added

11 Feb 16:59
Compare
Choose a tag to compare

0.12.0

Features

  • New simulation module added
  • VirtualBroker added for faking orders
  • You can now add keys to CompoundOrder when adding an order
  • CompoundOrder orders now have an automatic index
  • get function added to CompoundOrder to search by index or custom key
  • update_quantity function added to utils

Broker fixes

23 Jan 16:50
Compare
Choose a tag to compare

0.11.0

Features

  • force_order_type directive added to PegSequential orders; now PegSequential orders could either force order type to LIMIT or proceed with the actual order type

Fixes

  • kotak broker close_all_positions correctly implemented
  • kotak broker price and trigger price to be set to zero when MARKET order is placed

0.10.2

Fixes

  • zerodha broker TOTP auto login error fixed

0.10.1

Fixes

  • zerodha broker side forced to be in upper case to enable close_all_positions