MCPcopy Create free account

hub / github.com/blankly-finance/blankly / functions

Functions1,497 in github.com/blankly-finance/blankly

↓ 2 callersFunctionzip_dir
(args: dict, deployment_options: dict)
blankly/deployment/cli.py:284
↓ 2 callersFunctionzlema
(data: Any, period: int = 50, use_series=False)
blankly/indicators/moving_averages.py:54
↓ 1 callersMethod__account_was_used
(self, column)
blankly/exchanges/interfaces/paper_trade/backtest_controller.py:686
↓ 1 callersMethod__add_prices
(self, symbol, start_time, end_time, resolution, save=False)
blankly/exchanges/interfaces/paper_trade/backtest_controller.py:544
↓ 1 callersMethod__add_prices
(self, to, start_date, end_date)
blankly/frameworks/strategy/strategy.py:324
↓ 1 callersMethod__associate
(file_paths: list)
blankly/data/data_reader.py:154
↓ 1 callersFunction__check_ending
(full_string, checked_ending)
blankly/utils/utils.py:352
↓ 1 callersMethod__check_trading_assets
Append a newly traded symbol to traded assets array. This is used to more efficiently evaluate which accounts need graphs Ar
blankly/exchanges/interfaces/paper_trade/paper_trade_interface.py:132
↓ 1 callersMethod__compare_dicts
(self, default_settings, user_settings)
blankly/utils/utils.py:160
↓ 1 callersFunction__compress_dict_series
Remove duplicate keys from the account value or anything that is associated with a time series :param values_column: A dictionary with index
blankly/exchanges/interfaces/paper_trade/backtest/format_platform_result.py:46
↓ 1 callersFunction__determine_first_key
(exchange_keys)
blankly/exchanges/auth/utils.py:72
↓ 1 callersFunction__dict_from_df_dict
This creates a serializable dictionary from a dictionary with pandas df: { 'AAPL': df.DataFrame 'MSFT': df.DataFrame }
blankly/exchanges/interfaces/paper_trade/backtest/format_platform_result.py:22
↓ 1 callersMethod__evaluate_binance_limits
(price: (int, float), order_filter)
blankly/exchanges/interfaces/paper_trade/paper_trade_interface.py:776
↓ 1 callersMethod__init__
(self, exchange: ABCBaseExchange)
blankly/frameworks/strategy/strategy.py:234
↓ 1 callersMethod__is_price_data
(data_type: DataTypes)
blankly/data/data_reader.py:57
↓ 1 callersMethod__next_color
(self)
blankly/exchanges/interfaces/paper_trade/backtest_controller.py:696
↓ 1 callersFunction__parse_backtest_trades
Determine the lifecycle of limit orders :param trades: The list of trades from the backtest :param limit_executed: The list of limit ord
blankly/exchanges/interfaces/paper_trade/backtest/format_platform_result.py:73
↓ 1 callersMethod__parse_json_events
(self, file_path)
blankly/data/data_reader.py:252
↓ 1 callersMethod__recursive_close
(self, d)
blankly/exchanges/managers/websocket_manager.py:36
↓ 1 callersMethod__run
(self)
blankly/frameworks/screener/screener.py:93
↓ 1 callersMethod__str__
(self)
blankly/exchanges/interfaces/okx/okx_api.py:237
↓ 1 callersMethod__write_initial_price_values
Write in a new price dictionary for the paper trade exchange.
blankly/exchanges/interfaces/paper_trade/backtest_controller.py:594
↓ 1 callersMethod_get_default_truncation
(self)
blankly/exchanges/interfaces/oanda/oanda_interface.py:493
↓ 1 callersMethod_get_signature
(self, request: requests.Request)
blankly/exchanges/interfaces/ftx/ftx_api.py:50
↓ 1 callersMethod_get_timestamp
(self)
blankly/exchanges/interfaces/okx/okx_api.py:311
↓ 1 callersMethod_guess_resolutions
(self)
blankly/data/data_reader.py:177
↓ 1 callersMethod_handle_response
(response: requests.Response)
blankly/exchanges/interfaces/ftx/ftx_api.py:77
↓ 1 callersMethod_init_session
(self)
blankly/exchanges/interfaces/binance/binance_api.py:62
↓ 1 callersMethod_init_session
(self)
blankly/exchanges/interfaces/oanda/oanda_api.py:53
↓ 1 callersMethod_parse_df_prices
(self, file_paths: list, symbols: list, columns: set)
blankly/data/data_reader.py:101
↓ 1 callersMethod_parse_json_prices
(self, file_paths: list, keys: tuple)
blankly/data/data_reader.py:138
↓ 1 callersMethod_signed_delete
(self, path: str, params: Optional[Dict[str, Any]] = None)
blankly/exchanges/interfaces/ftx/ftx_api.py:67
↓ 1 callersFunctionabsolute_price_oscillator
(data, short_period=12, long_period=26, use_series=False)
blankly/indicators/oscillators.py:58
↓ 1 callersMethodadd_arbitrage_event
Add Price Event. This will provide you with an updated price every time the callback is run Args: callback: The price eve
blankly/frameworks/strategy/strategy_base.py:121
↓ 1 callersMethodadd_bar_event
The bar event sends a dictionary of {open, high, low, close, volume} which has occurred in the interval. Args: callback:
blankly/frameworks/strategy/strategy_base.py:140
↓ 1 callersMethodadd_custom_events
(self, event_reader: DataReader)
blankly/exchanges/interfaces/paper_trade/backtest_controller.py:538
↓ 1 callersFunctionadd_key
(exchange: Exchange, tld: str, key_name: str, data: dict)
blankly/deployment/keys.py:46
↓ 1 callersMethodadd_prices
This is the user facing function for adding prices to the engine
blankly/exchanges/interfaces/paper_trade/backtest_controller.py:493
↓ 1 callersMethodadd_symbol
(self, symbol)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:66
↓ 1 callersMethodadvance_time_and_price_index
(self)
blankly/exchanges/interfaces/paper_trade/backtest_controller.py:704
↓ 1 callersFunctionalpaca_remapping
(dictionary: dict, mapping: dict)
blankly/exchanges/interfaces/alpaca/alpaca_websocket_utils.py:28
↓ 1 callersMethodannotate_order
Update the annotation on an existing order
blankly/deployment/reporter_headers.py:126
↓ 1 callersMethodappend_model
Append the models to the exchange, these can be run Args: model: Model object to be used. This is objects inheriting blan
blankly/exchanges/exchange.py:173
↓ 1 callersFunctionaroon_oscillator
(high_data: Any, low_data: Any, period=14, use_series=False)
blankly/indicators/oscillators.py:41
↓ 1 callersMethodbacktesting_time
(self)
blankly/exchanges/interfaces/abc_base_exchange_interface.py:150
↓ 1 callersFunctionbinance_snapshot
(symbol, limit)
blankly/exchanges/managers/orderbook_manager.py:40
↓ 1 callersFunctionbuild_millennium
()
blankly/utils/time_builder.py:59
↓ 1 callersFunctioncagr
(start_value, end_value, years)
blankly/metrics/portfolio.py:27
↓ 1 callersMethodcalculate_epochs
(self, start_date, end_date, resolution, to)
blankly/exchanges/interfaces/abc_base_exchange_interface.py:99
↓ 1 callersFunctionceil_date
(date, **kwargs)
blankly/utils/utils.py:664
↓ 1 callersFunctionchande_momentum_oscillator
(data, period=14, use_series=False)
blankly/indicators/oscillators.py:50
↓ 1 callersMethodchange_account_leverage
(self, leverage: int)
blankly/exchanges/interfaces/ftx/ftx_api.py:95
↓ 1 callersMethodcheck_account_delta_limit
(self, before: dict, after: dict, order: LimitOrder)
tests/exchanges/test_interface_homogeneity.py:500
↓ 1 callersMethodcheck_account_delta_market
(self, before: dict, after: dict, order: MarketOrder)
tests/exchanges/test_interface_homogeneity.py:488
↓ 1 callersFunctioncheck_key
(exchange: Exchange, tld: str, auth)
blankly/deployment/keys.py:70
↓ 1 callersMethodcheck_margin_call
(self)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:337
↓ 1 callersMethodcheck_market_order
Test if a market order passes these checks. Args: order (dict): The market order to test - has to be type MarketOrder
tests/exchanges/test_interface_homogeneity.py:207
↓ 1 callersFunctionclean_blankly_json
()
blankly/deployment/new_cli.py:169
↓ 1 callersMethodclose_websocket
Close a websocket thread
blankly/exchanges/managers/websocket_manager.py:144
↓ 1 callersFunctioncompare_results
(previous_outputs: dict, result, check_values: bool)
tests/new_interface_tests/test_utils.py:135
↓ 1 callersFunctioncompare_values
(other_name, other, this, check_values: bool)
tests/new_interface_tests/test_utils.py:140
↓ 1 callersMethodconstruct_strategy
(self, schedulers, orderbook_websockets, ticker_websockets, orderbook_manager, tick
blankly/frameworks/strategy/strategy.py:48
↓ 1 callersFunctionconvert_epochs
If an epoch time is very long it means that it includes decimals - generally milliseconds. We like the decimal format because its unambiguous
blankly/utils/utils.py:460
↓ 1 callersMethodconvert_symbol_name
(symbol: str)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:62
↓ 1 callersFunctioncreate_alpaca_client
(auth: AuthConstructor, sandbox_mode=True)
blankly/exchanges/interfaces/alpaca/alpaca_api.py:27
↓ 1 callersFunctioncreate_model
(api, name, description, model_type, project_id=None)
blankly/deployment/new_cli.py:56
↓ 1 callersMethoddeploy
(self, file_path: str, model_id: str, version_description: str, python_version: float, type_: s
blankly/deployment/api.py:127
↓ 1 callersMethoddo_funding
(self, symbol: str, rate: float)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:252
↓ 1 callersMethodevaluate_multiples
(valid_resolutions: list, resolution_seconds: float)
blankly/exchanges/interfaces/exchange_interface.py:196
↓ 1 callersMethodevaluate_traded_account_assets
(self)
blankly/exchanges/interfaces/paper_trade/paper_trade_interface.py:110
↓ 1 callersFunctionevaluator
(symbol, state: ScreenerState)
blankly/data/templates/none_screener.py:4
↓ 1 callersMethodevent
Override this to gain access to any custom events passed in
blankly/frameworks/model/model.py:92
↓ 1 callersMethodexchange_token
Get the JWT from the refresh token
blankly/deployment/api.py:98
↓ 1 callersMethodexport_backtest_result
Re-export for the finished screener result Args: platform_result: A blankly backtest result object
blankly/deployment/reporter_headers.py:87
↓ 1 callersMethodexport_screener
Export a screener object to the backend for monitoring Args: screener: A screener object to export
blankly/deployment/reporter_headers.py:66
↓ 1 callersMethodexport_screener_result
Re-export for the finished screener result Args: screener: A screener object to export
blankly/deployment/reporter_headers.py:78
↓ 1 callersMethodexport_strategy
Export a strategy for monitoring. This is used internally on the construction of the strategy object Args: strategy (Str
blankly/deployment/reporter_headers.py:57
↓ 1 callersFunctionextract_price_by_resolution
(prices, symbol, epoch_start, epoch_stop, resolution)
blankly/utils/utils.py:847
↓ 1 callersFunctionformat_platform_result
Export the finished backtest result Args: backtest_result: A BacktestResult object to export
blankly/exchanges/interfaces/paper_trade/backtest/format_platform_result.py:120
↓ 1 callersFunctionformatter
(results, state: ScreenerState)
blankly/data/templates/rsi_screener.py:18
↓ 1 callersFunctionftx_interface
()
tests/exchanges/interfaces/ftx/test_ftx_interface.py:36
↓ 1 callersMethodgen_order_id
()
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:451
↓ 1 callersFunctiongenerate_backtest_json
(exchange: Optional[Exchange])
blankly/deployment/new_cli.py:327
↓ 1 callersFunctiongenerate_blankly_json
(api: Optional[API], model: Optional[dict], model_type: str, main_script: str = 'bot.py')
blankly/deployment/new_cli.py:309
↓ 1 callersFunctiongenerate_bot_py
(exchange: Optional[Exchange], template: str)
blankly/deployment/new_cli.py:335
↓ 1 callersFunctiongenerate_keys_json
()
blankly/deployment/new_cli.py:293
↓ 1 callersFunctiongenerate_settings_json
(tld: str)
blankly/deployment/new_cli.py:284
↓ 1 callersMethodget_account
(self, filter=None)
blankly/exchanges/interfaces/binance_futures/binance_futures_interface.py:188
↓ 1 callersMethodget_account
Get all currencies in an account, or sort by symbol Args: symbol (Optional): Filter by particular symbol
blankly/exchanges/interfaces/kucoin/kucoin_interface.py:110
↓ 1 callersMethodget_account
(self, accountid: str = None)
blankly/exchanges/interfaces/oanda/oanda_api.py:82
↓ 1 callersMethodget_account
(self, symbol: str = None)
blankly/exchanges/interfaces/keyless/keyless_api.py:71
↓ 1 callersMethodget_account
Get all assets in an account, or sort by symbol/account_id Args: symbol (Optional): Filter by particular symbol
blankly/exchanges/interfaces/ftx/ftx_interface.py:123
↓ 1 callersMethodget_account
(self, ccy='')
blankly/exchanges/interfaces/okx/okx_api.py:553
↓ 1 callersMethodget_all_positions
(self, accountid: str = None)
blankly/exchanges/interfaces/oanda/oanda_api.py:289
↓ 1 callersMethodget_all_tickers
Get the tickers object dictionary. This can be used for individual management, or to stop using the manager. Returns: Dic
blankly/exchanges/managers/websocket_manager.py:76
↓ 1 callersMethodget_asset_state
This is left out of documentation because it lacks thorough implementations. Generally this will be used to get a report of performa
blankly/exchanges/exchange.py:190
↓ 1 callersFunctionget_auth_headers
(timestamp, message, api_key, secret_key, passphrase)
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_api.py:47
↓ 1 callersMethodget_backtesting_funding_rate
(self, symbol: str)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:208
↓ 1 callersMethodget_candles_by_startend
(self, instrument: str, granularity: str, from_unix: float, to_unix: float)
blankly/exchanges/interfaces/oanda/oanda_api.py:143
↓ 1 callersMethodget_coins
(self)
blankly/exchanges/interfaces/ftx/ftx_api.py:134
← previousnext →301–400 of 1,497, ranked by callers