Skip to content

Releases: Voyz/ibind

v0.1.20

29 Sep 11:41
Compare
Choose a tag to compare
  • changed marketdata_history_by_id type hint
  • add better status handling for 410 gone
  • IbkrWsClient._last_heartbeat is reset to 0 on reconnect to avoid immediately hard_resetting upon check_health if heartbeat hasn't been received prior
  • updated OrderRequest fields and added support for custom unmapped fields
  • Make account_id argument optional in whatif_orders
  • Fix typing in transaction_history()

v0.1.19

13 Aug 12:54
Compare
Choose a tag to compare
  • fixed session errors on close
  • add handling of {'error': 'No data.'} message for market data
  • marketdata_history_by_conids returns consistent data structure irrespectively of run_in_parallel
  • add get_active_subscriptions()
  • add recreate_subscriptions_on_reconnect flag (True by default) to allow disabling the subscription recreation on reconnects

v0.1.18

23 Jul 18:15
Compare
Choose a tag to compare

Features:

  • add log parameter to tickle() endpoint
  • add print_file_logs to forward file logs to terminal output

Fixes:

  • attempt to fix the dotenv situation by trying to load_dotenv() in var.py if package is found
  • checks for _session is not None during close()

v0.1.17

23 Jul 15:31
Compare
Choose a tag to compare
  • added combination_positions to PortfolioMixin
  • added IbkrClient.handle_health_status()
  • updated examples with options spread order example

v0.1.16

03 Jul 17:35
Compare
Choose a tag to compare
  • added log_responses parameter and IBIND_LOG_RESPONSES env var (False by default) that can be used to log responses received from the broker to a file
  • added warning if session is None (due to closing)
  • small fix to how tickler is handled by ibkr_client
  • updated live_orders docstring with filter_values
  • Added shortable_shares to ibkr_definitions.py
  • Added All Periods endpoint

v0.1.15

17 Jun 09:48
Compare
Choose a tag to compare
  • docs: Change reference wiki, release process, modify enhancement
  • Update bug_report.md, enhancement.md
  • added question_type_to_message_id to support suppressing order placement question-answer messages
  • added support for passing conid=None to OrderRequest in order to facilitate specifying conidex instead
  • fixed conid in rest_04_place_order.py
  • fixed handle_questions() error handling to avoid checking request orders if error appeared during modify_order
  • added TimeoutError handling to Tickler to anticipate overnight server restarts
  • added IBIND_TICKLER_INTERVAL env var to start_tickler and timeout parameter to stop_tickler

v0.1.14

06 Apr 08:57
Compare
Choose a tag to compare
  • changed OrderRequest conid field to int (from str | int)
  • reformatted the whole codebase with ruff
  • remaking session on ConnectionError only if self.use_session == True
  • Merge pull request #50 from weklund/feat/add-ci-workflow

v0.1.13

11 Mar 09:43
Compare
Choose a tag to compare
  • added fixes for automatically registering signal handler on non-main thread to prevent hang-ups on exit

v0.1.12

05 Mar 09:41
Compare
Choose a tag to compare
  • added load_dotenv monkey patch to display a warning if it is called after ibind has been imported
  • removed usage of _testcapi in test_utils.py
  • Update Tickler to use threading events for stopping. Contributed by @lach1010 🙌
  • added global default_filtering flag
  • added OAuthConfig.verify_config
  • changed 'localhost' default to '127.0.0.1'
  • added use_session parameter and reworked the implementation of sessions to make it optional. Shutdown handling has been moved to RestClient, though OAuth1aConfig.shutdown_oauth parameter still defines whether OAuth gets closed when shutting down
  • updated marketdata_unsubscribe
  • introduced OrderRequest dataclass and deprecated make_order_request function
  • updated process_instruments to fix PLW2901

v0.1.10

14 Feb 13:33
Compare
Choose a tag to compare

Breaking changes:

Minor changes:

  • upgraded marketdata history endpoints to better handle parallel requests
  • fixed double ExternalBrokerError
  • added function to get account summary, contributed by @unclepaul84 👏
  • added live_marketdata_snapshot_by_symbol
  • fixed rest_06_options_chain.py months and exchange
  • fixed request method on account_performance

Documentation

  • Added OAuth 1.0a
  • Reworked most of the documentation pages to incorporate the OAuth 1.0a