MCPcopy Create free account

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

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

↓ 2 callersMethodexecute_orders
(self)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:279
↓ 2 callersMethodexport_used_symbol
Export the currency name for a used currency
blankly/deployment/reporter_headers.py:120
↓ 2 callersFunctionforex_market_open
()
tests/testing_utils.py:40
↓ 2 callersMethodformat_account_data
(self, interface: PaperTradeInterface, local_time)
blankly/exchanges/interfaces/paper_trade/backtest_controller.py:600
↓ 2 callersMethodformat_oanda_df
Given an OANDA history type response, format it into a readable dataframe: Example index from a list response: (this is a 1
blankly/exchanges/interfaces/oanda/oanda_interface.py:509
↓ 2 callersMethodftx_product_history
(api, symbol, epoch_start, epoch_stop, resolution)
blankly/exchanges/interfaces/ftx/ftx_interface.py:483
↓ 2 callersMethodgenerate_keys
(self, project_id: str, name: str, autogenerated: bool = True)
blankly/deployment/api.py:198
↓ 2 callersMethodget_account
Returns account information, or information for only one `symbol` if one is given.
blankly/exchanges/interfaces/futures_exchange_interface.py:70
↓ 2 callersMethodget_account
This method is a helper that allows the get_account functions to assume the base asset is being passed in Args: symbol (O
blankly/exchanges/interfaces/exchange_interface.py:215
↓ 2 callersMethodget_account
Get information for a single account. Use this endpoint when you know the account_id. Args: account_id (str): Account i
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_api.py:302
↓ 2 callersMethodget_account
(self, symbol=None)
blankly/exchanges/interfaces/oanda/oanda_interface.py:144
↓ 2 callersMethodget_accounts
Get the paper trading local account
blankly/exchanges/interfaces/paper_trade/local_account/trade_local.py:211
↓ 2 callersMethodget_accounts
Get a list of trading all accounts. When you place an order, the funds for the order are placed on hold. They cannot be used for oth
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_api.py:272
↓ 2 callersMethodget_all_open_orders
(self, accountid: str = None)
blankly/exchanges/interfaces/oanda/oanda_api.py:187
↓ 2 callersMethodget_backtesting_price
(self, asset_id)
blankly/exchanges/interfaces/paper_trade/backtesting_wrapper.py:50
↓ 2 callersMethodget_balances
(self)
blankly/exchanges/interfaces/ftx/ftx_api.py:131
↓ 2 callersMethodget_calls
No logging implemented
blankly/exchanges/strategy_logger.py:36
↓ 2 callersMethodget_fee_rates
(self, instType, instId='', uly='', category='')
blankly/exchanges/interfaces/okx/okx_api.py:618
↓ 2 callersMethodget_fees
(self)
blankly/exchanges/interfaces/binance_futures/binance_futures_interface.py:381
↓ 2 callersMethodget_full_state
Makes API calls to determine the state of the currency. This also returns the state of the model on that currency. This is a
blankly/exchanges/exchange.py:143
↓ 2 callersMethodget_funding_rate_history
Get the funding rate history between `epoch_start` and `epoch_end`. Returns a list of {'rate': int, 'time': int}
blankly/exchanges/interfaces/futures_exchange_interface.py:189
↓ 2 callersMethodget_hedge_mode
(self)
blankly/exchanges/interfaces/futures_exchange_interface.py:127
↓ 2 callersMethodget_instruments
(self, instType, uly='', instId='')
blankly/exchanges/interfaces/okx/okx_api.py:784
↓ 2 callersMethodget_interface
(self)
blankly/exchanges/futures/futures_exchange.py:67
↓ 2 callersMethodget_last_k_candles
(self, instrument: str, granularity: str, to_unix: [int, float], count: int)
blankly/exchanges/interfaces/oanda/oanda_api.py:152
↓ 2 callersMethodget_leverage
(self, symbol: str = None)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:169
↓ 2 callersMethodget_margin_type
(self, symbol: str)
blankly/exchanges/interfaces/futures_exchange_interface.py:143
↓ 2 callersMethodget_market
(self, symbol: str)
blankly/exchanges/interfaces/ftx/ftx_api.py:98
↓ 2 callersMethodget_model_state
Returns JUST the model state, as opposed to all the data returned by get_asset_state() This is also used for querying a general stat
blankly/exchanges/exchange.py:133
↓ 2 callersMethodget_order
(self, orderid: str, accountid: str = None)
blankly/exchanges/interfaces/oanda/oanda_api.py:195
↓ 2 callersMethodget_order_by_id
(self, order_id: str)
blankly/exchanges/interfaces/ftx/ftx_api.py:125
↓ 2 callersMethodget_orders
List your current open orders. This method returns a generator which may make multiple HTTP requests while iterating through it.
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_api.py:664
↓ 2 callersMethodget_orders
(self, instId, ordId='', clOrdId='')
blankly/exchanges/interfaces/okx/okx_api.py:440
↓ 2 callersMethodget_position
(self, symbol: str = None)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:118
↓ 2 callersMethodget_positions
(self, display_price_avg: bool = False)
blankly/exchanges/interfaces/ftx/ftx_api.py:143
↓ 2 callersMethodget_product_historic_rates
Historic rates for a product. Rates are returned in grouped buckets based on requested `granularity`. If start, end, and granularity
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_api.py:169
↓ 2 callersMethodget_product_history
(self, symbol, epoch_start, epoch_stop, resolution)
blankly/exchanges/interfaces/abc_base_exchange_interface.py:43
↓ 2 callersMethodget_product_history
Returns the product history from an exchange Args: symbol: blankly product ID format (BTC-USD) epoch_start: T
blankly/exchanges/interfaces/ftx/ftx_interface.py:469
↓ 2 callersMethodget_products
(self)
blankly/exchanges/interfaces/paper_trade/paper_trade_interface.py:692
↓ 2 callersMethodget_products
(self, symbol: str = None)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:102
↓ 2 callersMethodget_products
[ { "id": "904837e3-3b76-47ec-b432-046db621571b", "class": "us_equity", "exchange": "NA
blankly/exchanges/interfaces/alpaca/alpaca_interface.py:68
↓ 2 callersMethodget_products
(self)
blankly/exchanges/interfaces/kucoin/kucoin_interface.py:76
↓ 2 callersMethodget_products
Get a list of available currency pairs for trading. Returns: list: Info about all currency pairs. Example:: [
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_api.py:73
↓ 2 callersMethodget_products
Insturments response: { 'name': 'GBP_NZD', 'type': 'CURRENCY', 'displayName': 'GB
blankly/exchanges/interfaces/oanda/oanda_interface.py:78
↓ 2 callersMethodget_products
(self)
blankly/exchanges/interfaces/keyless/keyless_api.py:77
↓ 2 callersMethodget_products
(self)
blankly/exchanges/interfaces/ftx/ftx_interface.py:96
↓ 2 callersMethodget_time_in_force
Get the exchange's set time_in_force value.
blankly/exchanges/orders/stop_limit.py:99
↓ 2 callersFunctionhma
(data: Any, period: int = 50, use_series=False)
blankly/indicators/moving_averages.py:76
↓ 2 callersMethodhomogenize_order
(self, order)
blankly/exchanges/interfaces/alpaca/alpaca_interface.py:319
↓ 2 callersMethodhomogenize_order
(self, order)
blankly/exchanges/interfaces/oanda/oanda_interface.py:441
↓ 2 callersMethodinit_exchange
(self)
blankly/exchanges/interfaces/oanda/oanda_interface.py:56
↓ 2 callersMethodinitialize
Initialize the exchange. This should usually be called at the end of subclass constructors. This will report the exchange type to bla
blankly/exchanges/futures/futures_exchange.py:53
↓ 2 callersFunctionintersection
Find the intersection of two ranges Implementation from https://scicomp.stackexchange.com/a/26260 Args: as_: Low
blankly/exchanges/interfaces/paper_trade/backtest_controller.py:77
↓ 2 callersMethodis_running
This function returns the status of the process. This ensures that two processes cannot be started on the same account.
blankly/frameworks/multiprocessing/blankly_bot.py:80
↓ 2 callersFunctionisolate_specific
This is the parsing algorithm used to homogenize the dictionaries
blankly/utils/utils.py:412
↓ 2 callersFunctionkaufman_adaptive_ma
(data: Any, period: int = 50, use_series=False)
blankly/indicators/moving_averages.py:84
↓ 2 callersMethodlimit_order
Used for buying or selling limit orders Args: symbol: currency to buy side: buy/sell price: price
blankly/exchanges/interfaces/paper_trade/paper_trade_interface.py:485
↓ 2 callersMethodlist_assets
(self, *args, **kwargs)
tests/exchanges/interfaces/alpaca/test_alpaca_interface.py:176
↓ 2 callersMethodlist_teams
(self)
blankly/deployment/api.py:195
↓ 2 callersFunctionload_auth
(exchange_type, keys_file=None, name=None)
blankly/exchanges/auth/utils.py:42
↓ 2 callersFunctionload_backtest_preferences
(override_path=None, override_allow_nonexistent=False)
blankly/utils/utils.py:236
↓ 2 callersFunctionload_json
(keys_file)
blankly/exchanges/auth/utils.py:115
↓ 2 callersFunctionload_json_file
(override_path=None)
blankly/utils/utils.py:134
↓ 2 callersFunctionload_token
If the file has the token then this function is a success
blankly/deployment/cli.py:453
↓ 2 callersFunctionmacd
(data: Any, short_period: int = 12, long_period: int = 26, signal_period: int = 9, use_series=False)
blankly/indicators/moving_averages.py:100
↓ 2 callersMethodmain
(self, args)
blankly/frameworks/model/model.py:86
↓ 2 callersFunctionmax_drawdown
(returns)
blankly/metrics/portfolio.py:97
↓ 2 callersFunctionmax_period
(data, period, use_series=False)
blankly/indicators/statistics.py:59
↓ 2 callersFunctionmin_period
(data, period, use_series=False)
blankly/indicators/statistics.py:51
↓ 2 callersMethodparse_yfinance
(symbol: str, epoch_start: [int, float], epoch_stop: [int, float], resolution: int)
blankly/exchanges/interfaces/alpaca/alpaca_interface.py:628
↓ 2 callersMethodplace_algo_order
(self, instId='', tdMode='', side='', ordType='', sz='', ccy='', posSide='', reduceOn
blankly/exchanges/interfaces/okx/okx_api.py:469
↓ 2 callersMethodplace_limit_order
Place a limit order. Args: product_id (str): Product to order (eg. 'BTC-USD') side (str): Order side ('buy' or 'sell)
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_api.py:497
↓ 2 callersFunctionplace_order
(interface: ABCBaseExchangeInterface, symbol: str, side: Side, funds: int, reduce_only: bool = False)
tests/new_interface_tests/test_utils.py:181
↓ 2 callersMethodplace_order
(self, instId, tdMode, side, ordType, sz, ccy='', clOrdId='', tag='', posSide='', px='', r
blankly/exchanges/interfaces/okx/okx_api.py:403
↓ 2 callersFunctionprint_descriptions
(descriptions_: list, show_index: bool)
blankly/deployment/cli.py:80
↓ 2 callersFunctionprint_work
(text)
blankly/deployment/ui.py:40
↓ 2 callersMethodreceive_price
(self, asset_id, new_price)
blankly/exchanges/interfaces/paper_trade/backtesting_wrapper.py:40
↓ 2 callersMethodreceive_time
(self, new_time)
blankly/exchanges/interfaces/paper_trade/backtesting_wrapper.py:37
↓ 2 callersMethodresample_account
Resample the raw account value metrics to any resolution Args: symbol: The column to resample at the interval resolution
blankly/exchanges/interfaces/paper_trade/backtest_result.py:56
↓ 2 callersMethodrestart_ticker
(self)
blankly/exchanges/interfaces/ftx/ftx_websocket.py:130
↓ 2 callersMethodrun
Setup
blankly/exchanges/interfaces/paper_trade/backtest_controller.py:794
↓ 2 callersFunctionselect_plan
(api: API, plan_type: str)
blankly/deployment/cli.py:301
↓ 2 callersMethodset_backtesting
(self, status: bool)
blankly/exchanges/interfaces/paper_trade/backtesting_wrapper.py:34
↓ 2 callersMethodset_hedge_mode
(self, hedge_mode: HedgeMode)
blankly/exchanges/interfaces/futures_exchange_interface.py:123
↓ 2 callersMethodset_margin_type
(self, symbol: str, type: MarginType)
blankly/exchanges/interfaces/futures_exchange_interface.py:139
↓ 2 callersMethodsetup_model
(self)
blankly/frameworks/strategy/strategy.py:362
↓ 2 callersFunctionsplit_df
(df, n)
blankly/utils/utils.py:579
↓ 2 callersFunctionstddev_period
(data, period=14, use_series=False)
blankly/indicators/statistics.py:27
↓ 2 callersFunctionstderr_period
(data, period=14, use_series=False)
blankly/indicators/statistics.py:43
↓ 2 callersFunctionsubscribe
(ws, channel, symbol)
blankly/exchanges/interfaces/alpaca/alpaca_websocket.py:35
↓ 2 callersMethodtake_profit_order
(self, symbol: str, price: float, size: float)
blankly/exchanges/strategy_logger.py:86
↓ 2 callersMethodtest_trade
Test a paper trade to see if you have the funds Args: currency_pair (string): Pair such as 'BTC-USD' side (s
blankly/exchanges/interfaces/paper_trade/local_account/trade_local.py:75
↓ 2 callersMethodto_blankly_symbol
(symbol: str)
blankly/exchanges/interfaces/futures_exchange_interface.py:48
↓ 2 callersFunctiontrima
(data: Any, period: int = 50, use_series=False)
blankly/indicators/moving_averages.py:92
↓ 2 callersFunctionupdate_progress
(progress)
blankly/utils/utils.py:553
↓ 2 callersFunctionvalid_product_helper
(interface: ABCBaseExchangeInterface, product)
tests/new_interface_tests/test_interfaces.py:19
↓ 2 callersFunctionvar_period
(data, period=14, use_series=False)
blankly/indicators/statistics.py:35
↓ 2 callersFunctionwma
(data: Any, period: int = 50, use_series=False)
blankly/indicators/moving_averages.py:46
↓ 2 callersFunctionwrite_auth_cache
Write an authenticated object into the global authentication cache. This can be used by other pieces of code in the module to pull from excha
blankly/exchanges/auth/utils.py:83
↓ 2 callersFunctionwrite_keys
(data)
blankly/deployment/keys.py:41
← previousnext →201–300 of 1,497, ranked by callers