MCPcopy Create free account

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

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

Methodbacktest
(self, args, initial_values: dict = None, settings_path: str = None, kwargs=None)
blankly/frameworks/model/model.py:50
Methodbacktest_deployed
(self, model_id: str, args: dict, version_id: str, backtest_description: str)
blankly/deployment/api.py:140
Methodbacktesting_time
Overridden by interfaces which have a valid backtesting boolean value
blankly/exchanges/interfaces/exchange_interface.py:189
Methodbacktesting_time
Return the backtest time if we're backtesting, if not just return None. If it's None the caller assumes no backtesting. The function
blankly/exchanges/interfaces/paper_trade/paper_trade_interface.py:118
Methodbacktesting_time
TODO this is duplicated from paper_trade_interface as a quick fix Return the backtest time if we're backtesting, if not just return N
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:427
Methodbar_event
(self, price, symbol, state: StrategyState)
tests/strategy/test_strategy.py:52
Functionbbands
(data, period=14, stddev=2)
blankly/indicators/indicators.py:25
Functionbeta
(backtest_data, trading_period=86400)
blankly/exchanges/interfaces/paper_trade/metrics.py:82
Functionbeta
(returns, market_base_returns, n=None)
blankly/metrics/portfolio.py:77
Functionbinance_interface
()
tests/exchanges/interfaces/binance/test_binance_interface.py:44
Methodbinance_orderbook
(self, message)
tests/websockets/test_crypto_websockets.py:176
Methodbinance_price
(self, message)
tests/websockets/test_crypto_websockets.py:147
Methodbinance_update
(self, update)
blankly/exchanges/managers/orderbook_manager.py:554
Functionblankly_add_key
(args)
blankly/deployment/new_cli.py:452
Functionblankly_init
(args)
blankly/deployment/new_cli.py:180
Functionblankly_key
(args)
blankly/deployment/new_cli.py:483
Functionblankly_list_key
(args)
blankly/deployment/new_cli.py:457
Functionblankly_logout
(args)
blankly/deployment/new_cli.py:359
Functionblankly_remove_key
(args)
blankly/deployment/new_cli.py:470
Methodborrow_repay
(self, ccy='', side='', amt='')
blankly/exchanges/interfaces/okx/okx_api.py:653
Functionbuild_order_info
(price, side, size, symbol, type_)
blankly/utils/utils.py:859
Functioncached_property
(func)
blankly/exchanges/interfaces/binance_futures/binance_futures_interface.py:32
Functioncagr
(backtest_data)
blankly/exchanges/interfaces/paper_trade/metrics.py:41
Methodcalls
(self)
blankly/exchanges/interfaces/ftx_futures/ftx_futures.py:39
Methodcalls
(self)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade.py:20
Methodcalls
(self)
blankly/exchanges/interfaces/binance_futures/binance_futures.py:48
Methodcalls
Authenticated direct calls object
blankly/exchanges/futures/futures_exchange.py:43
Functioncalmar
(backtest_data, trading_period=86400)
blankly/exchanges/interfaces/paper_trade/metrics.py:64
Functioncalmar
(returns, n=252)
blankly/metrics/portfolio.py:59
Methodcancel_advance_algos
(self, params)
blankly/exchanges/interfaces/okx/okx_api.py:491
Methodcancel_algo_order
(self, params)
blankly/exchanges/interfaces/okx/okx_api.py:487
Methodcancel_all_open_orders
(self, symbol)
blankly/exchanges/interfaces/binance/binance_api.py:329
Methodcancel_multiple_orders
(self, orders_data)
blankly/exchanges/interfaces/okx/okx_api.py:420
Methodcancel_oco
(self, symbol, **optional_params)
blankly/exchanges/interfaces/binance/binance_api.py:370
Methodcancel_order
No logging implemented
blankly/exchanges/strategy_logger.py:126
Methodcancel_order
Cancels an order
blankly/exchanges/interfaces/futures_exchange_interface.py:147
Methodcancel_order
Cancel an order on a particular symbol & order id Args: symbol: This is the asset id that the order is under
blankly/exchanges/interfaces/abc_exchange_interface.py:147
Methodcancel_order
(self, symbol: str, order_id: int)
blankly/exchanges/interfaces/ftx_futures/ftx_futures_interface.py:276
Methodcancel_order
(self, symbol, **optional_params)
blankly/exchanges/interfaces/binance/binance_api.py:321
Methodcancel_order
Cancel an active order. Either orderId or origClientOrderId must be sent. https://github.com/binance/binance-spot-api-docs/blob/master/rest-a
blankly/exchanges/interfaces/binance/binance_interface.py:513
Methodcancel_order
This block could potentially work for both exchanges
blankly/exchanges/interfaces/paper_trade/paper_trade_interface.py:627
Methodcancel_order
(self, symbol: str, order_id: int)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:182
Methodcancel_order
(self, symbol: str, order_id: int)
blankly/exchanges/interfaces/binance_futures/binance_futures_interface.py:358
Methodcancel_order
(self, symbol, order_id)
blankly/exchanges/interfaces/alpaca/alpaca_interface.py:284
Methodcancel_order
Returns: dict: Containing the order_id of cancelled order. Example:: { "cancelledOrderIds": ["c5ab5eae-76be-480e-8961-0
blankly/exchanges/interfaces/kucoin/kucoin_interface.py:262
Methodcancel_order
Returns: dict: Containing the order_id of cancelled order. Example:: { "order_id": "c5ab5eae-76be-480e-8961-00792dc7e
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_interface.py:348
Methodcancel_order
Cancel a previously placed order. If the order had no matches during its lifetime its record may be purged. This means the order det
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_api.py:639
Methodcancel_order
(self, symbol, order_id)
blankly/exchanges/interfaces/oanda/oanda_interface.py:304
Methodcancel_order
(self, orderid: str, accountid: str = None)
blankly/exchanges/interfaces/oanda/oanda_api.py:203
Methodcancel_order
(self, symbol: str, order_id: str)
blankly/exchanges/interfaces/keyless/keyless_api.py:92
Methodcancel_order
Cancel an order on a particular symbol & order id Args: symbol: This is the asset id that the order is under
blankly/exchanges/interfaces/ftx/ftx_interface.py:340
Methodcancel_order
(self, instId, ordId='', clOrdId='')
blankly/exchanges/interfaces/okx/okx_api.py:415
Methodcancel_order
Returns: dict: Containing the order_id of cancelled order. Example:: { "client_oid": "order123", }
blankly/exchanges/interfaces/okx/okx_interface.py:189
Methodcanceled_orders
(self)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:50
Methodcash
No logging implemented
blankly/exchanges/strategy_logger.py:191
Methodcash
The amount of cash in a portfolio. The currency for 'cash' is set in settings.json
blankly/exchanges/interfaces/futures_exchange_interface.py:182
Methodcash
Get the amount of cash in a portfolio. The cash default is set in the settings .json file
blankly/exchanges/interfaces/abc_exchange_interface.py:235
Methodcash
(self)
blankly/exchanges/interfaces/exchange_interface.py:185
Methodcash
(self)
blankly/exchanges/interfaces/alpaca/alpaca_interface.py:108
Methodcash
()
blankly/exchanges/interfaces/oanda/oanda_interface.py:162
Methodchat
Sends a text message to a Google Chat Space through a webhook_url Create the webhook following these instructions: https:
blankly/deployment/reporter_headers.py:192
Functioncheck_backtesting
Tests if the environment is configured for backtesting. Primarily used for platform deployments but is applicable elsewhere
blankly/utils/utils.py:757
Methodcheck_if_any_column_has_prices
In dictionary of symbols, check if at least one key has data
blankly/exchanges/interfaces/paper_trade/backtest_controller.py:866
Methodcheck_responses
()
tests/websockets/test_crypto_websockets.py:89
Methodcheck_server_time
(self)
blankly/exchanges/interfaces/binance/binance_api.py:220
Methodclose_all_websockets
Iterate through orderbooks and make sure they're closed
blankly/exchanges/managers/websocket_manager.py:30
Methodclose_position
(self, instrument: str, accountid: str = None)
blankly/exchanges/interfaces/oanda/oanda_api.py:310
Methodclose_positions
(self, instId, mgnMode, posSide='', ccy='', autoCxl='')
blankly/exchanges/interfaces/okx/okx_api.py:435
Methodclose_websocket
(self)
blankly/exchanges/abc_exchange_websocket.py:55
Methodclose_websocket
(self, channel, override_symbol=None, override_exchange=None)
blankly/exchanges/managers/general_stream_manager.py:180
Methodclose_websocket
(self)
blankly/exchanges/interfaces/alpaca/alpaca_websocket.py:250
Methodcoin_withdraw
(self, ccy, amt, dest, toAddr, pwd, fee, chain='')
blankly/exchanges/interfaces/okx/okx_api.py:705
Functioncoinbase_interface
()
tests/exchanges/interfaces/coinbase_pro/test_coinbase_pro_interface.py:43
Methodcoinbase_orderbook
(self, message)
tests/websockets/test_crypto_websockets.py:171
Methodcoinbase_price
(self, message)
tests/websockets/test_crypto_websockets.py:142
Methodcoinbase_snapshot_update
(self, update)
blankly/exchanges/managers/orderbook_manager.py:359
Methodcoinbase_update
(self, update)
blankly/exchanges/managers/orderbook_manager.py:383
Functioncompare_price_event
Strategy: When the market is doing well, the strategy takes on more risk by holding a leveraged S&P 500 ETF. When the market is s
examples/leveragedSPY.py:7
Methodcomplain_if_different
(ending_: str, type_: str)
blankly/data/data_reader.py:157
Methodcompressed_trades_list
(self, symbol, **optional_params)
blankly/exchanges/interfaces/binance/binance_api.py:252
Functionconvert_input_to_epoch
(value: Union[str, dt])
blankly/utils/utils.py:267
Methodconvert_trade
(self, quoteId='', baseCcy='', quoteCcy='', side='', sz='', szCcy='', clTReqId='')
blankly/exchanges/interfaces/okx/okx_api.py:530
Functioncount_decimals
Count the number of decimals in a given float: 1.4335 -> 4 or 3 -> 0
blankly/utils/utils.py:750
Methodcreate_general_connection
Create a channel on any given stream on any exchange. This is not stored in the manager object, only returned.
blankly/exchanges/managers/general_stream_manager.py:41
Methodcreate_project
(self, name: str, description: str)
blankly/deployment/api.py:123
Methodcreate_report
Create report of historic information about your account. The report will be generated when resources are available. Report status c
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_api.py:885
Functioncreate_ticker_connection
(id, url, channel)
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_websocket.py:29
Functioncum_returns
(backtest_data)
blankly/exchanges/interfaces/paper_trade/metrics.py:47
Methodcurrent_average_price
(self, symbol)
blankly/exchanges/interfaces/binance/binance_api.py:269
Methodcurrent_open_orders
(self, **optional_params)
blankly/exchanges/interfaces/binance/binance_api.py:343
Functioncvar
(backtest_data)
blankly/exchanges/interfaces/paper_trade/metrics.py:96
Functioncvar
(initial_value, returns, alpha)
blankly/metrics/portfolio.py:88
Methoddata
(self)
blankly/data/data_reader.py:61
Functiondefault_first_portfolio
(keys_file, exchange_name)
blankly/exchanges/auth/utils.py:126
Methoddeposit_address
(self, **optional_params)
blankly/exchanges/interfaces/binance/binance_api.py:146
Functiondepth
(message)
blankly/exchanges/interfaces/binance/binance_websocket_utils.py:40
Functiondepth_interface
(message)
blankly/exchanges/interfaces/binance/binance_websocket_utils.py:44
Methoddisable_fast_withdraw
(self)
blankly/exchanges/interfaces/binance/binance_api.py:114
Methoddiscount_interest_free_quota
(self, ccy='')
blankly/exchanges/interfaces/okx/okx_api.py:824
Methoddividend_record
(self, **optional_params)
blankly/exchanges/interfaces/binance/binance_api.py:173
← previousnext →701–800 of 1,497, ranked by callers