Skip to content

Releases: uberdeveloper/omspy

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

Attributes copy feature for orders

05 Dec 11:05
Compare
Choose a tag to compare

0.10.0

Features

  • order execute, modify, cancel functions to take additional attribs_to_copy argument to copy attributes from brokers
  • Broker instance could have now have properties to be added automatically during execute, modify, cancel function

Fixes

  • Finvasia broker to return order_id as a string instead of dictionary
  • Finvasia broker order_modify to correctly add arguments when called

0.9.1

Fixes

  • Finvasia broker to suffix EQ to orders only when the exchange is NSE

Improvement

  • Finvasia broker - more columns converted to proper types
  • Kotak broker - more columns converted

Internals

  • Kotak broker create_instrument_master to fetch dataframe from a different function, the new function is added for better modularity

Bug fix and improvement version

18 Nov 03:29
Compare
Choose a tag to compare

0.9.0

Features

  • TrailingStopOrder added to stop orders
  • TargetOrder added to stop orders
  • BracketOrder removed from stop orders

Improvements

  • StopOrder and StopLimitOrder model changed

Fixes

  • Kotak broker exchange_timestamp format handled correctly
  • Finvasia broker exchange and broker timestamp format handled correctly
  • Timestamp for kotak, finvasia brokers to be saved in db in expected format

0.8.3

Features

  • close_all_positions could take a symbol_transformer function to transform symbols
  • close_all_positions can take positions as an optional argument; this would help in passing select positions to square off instead of closing all positions
  • PegExisting and PeqSequential can now take modify_args to add any extra broker arguments needed when modifying orders

Improvements

  • close_all_positions to handle errors and valid quantity of any type
  • type conversion done for data received from broker Finvasia
  • #9 when an Order is added to CompoundOrder add an id automatically if there is no id
  • #25 PegSequential order lock mechanism now dependent on add_lock method for each order; so each order could have its own order lock.

Fixes

  • #15 do not update Order if order is_done (completed/rejected/canceled)

Internals

  • tests improved for Order class

0.8.2

Improvements

  • Instrument master for broker kotak could be generated for any combination of columns
  • modify order could now take extra attributes to be passed on to broker
  • tests rewritten with PurePath and other refactoring, credits to @soumyarai2050 for pushing these changes

Fixes

  • Instrument master for broker kotak to handle strike prices till 3 decimal places (for currency strikes)
  • modify_order for broker kotak to correctly handle order types, especially MARKET

0.8.1

Improvements

  • TOTP authentication added to Finvasia broker
  • TOTP autentication added to MasterTrust broker