Releases: uberdeveloper/omspy
Releases · uberdeveloper/omspy
Patch for zerodha headless mode
Patch for zerodha headless mode
Full Changelog: v0.16.0...v0.17.1
Better support for newer python versions
Full Changelog: v0.16.0...v0.17.0
Replica Broker release
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
New Neo broker added
VirtualBroker module and typing improvements
0.14.0
Improvements to the VirtualBroker module
Features
Following features added to VirtualBroker
VirtualBroker
methods to matchFakeBroker
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 genericTicker
model now moved to models
v0.13.0
0.13.0
- New
FakeBroker
class added to simulation - API added for generating fake data in
omspy.simulation.server
New simulation module added
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 indexget
function added toCompoundOrder
to search by index or custom keyupdate_quantity
function added to utils
Broker fixes
0.11.0
Features
force_order_type
directive added toPegSequential
orders; nowPegSequential
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 enableclose_all_positions
Attributes copy feature for orders
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
0.9.0
Features
TrailingStopOrder
added to stop ordersTargetOrder
added to stop ordersBracketOrder
removed from stop orders
Improvements
StopOrder
andStopLimitOrder
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 symbolsclose_all_positions
can take positions as an optional argument; this would help in passing select positions to square off instead of closing all positionsPegExisting
andPeqSequential
can now takemodify_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 toCompoundOrder
add an id automatically if there is no id - #25
PegSequential
order lock mechanism now dependent onadd_lock
method for each order; so each order could have its own order lock.
Fixes
- #15 do not update
Order
if orderis_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 brokerkotak
to correctly handle order types, especially MARKET
0.8.1
Improvements
- TOTP authentication added to Finvasia broker
- TOTP autentication added to MasterTrust broker