Omspy

Latest version: v0.16.4

Safety actively analyzes 642295 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

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

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

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.