Async-v20

Latest version: v8.0.0b1

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

Scan your dependencies

Page 1 of 7

8.0.0b0

=======
- Added guaranteedStopLossOrderRestriction to Instrument definition
- Added unixTime attribute to orderBook definition
- Added tags attribute to Instrument definition
- Added guaranteed to StopLossOrder definition
- Replaced ellipsis (...) with sentinel object
- Added fullVWAP to Transaction definition
- UnknownValue Exception is now replaced with UnknownKeywordArgument Warning
in order to make the client more robust to breaking changes from OANDA
- Checked many class definitions against updated OANDA documentation

7.0.1b0

=======
- OandaClient.close is now a coroutine

7.0.0b0

=======

- All OrderRequests now require an `instrument` as there first parameter.
This is to allow correct rounding of decimal numbers to the instruments specification.
- `guaranteed: bool` has been added to Transaction definition.
- Default SinceTransactionID value is now limited to the passed 900 transactions.
- `OandaClient.account()` method will use `get_account_details()` method when default
`SinceTransactionID` has expired.
- `OandaClient.get_pricing` now accepts an `InstrumentName` for `instruments`

6.2.2b0

=======

- `guaranteed: bool` has been added to Order definition.

6.2.1b0

=======

- Array class lazy instantiates objects
- Model objects with same attributes now compare equal (proving equal DateTime format)
- Improved repr of Array objects
- Improved implementation of `get_instrument`/s, `get_id`
- All Array objects have `get_instrument` and `get_instruments`. Returns either the first or all matching objects
- Removed Model class `_template` attribute as it was obsolete
- Added `get(self, name, default=None)` method to Model to allow for dict like key access.

6.2.0b0

=======

- Changed `get_transactions` method to `get_transaction` (API call can only return one transaction)
- Removed default parameter argument for `get_transaction`.(**transaction_id**) it is a required parameter.
- Made OandaClient.hosts a protected member. Now OandaClient._hosts
- `Array`. **get_instruments()** returns an Array of the same type this is when there is a one to many relationship
between the instrument and objects the array contains. `Array`. **get_instrument()** Returns the single object
when there is a one to one relationship. Both methods are mutually exclusive
- All objects now lazy instantiate attribute instances.
- Large refactoring of async_v20.definitions.base

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.