MCPcopy Create free account

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

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

↓ 1 callersFunctionget_datadir
Returns a parent directory path where persistent application data can be stored. # linux: ~/.local/share # macOS: ~/Library/Application
blankly/deployment/login.py:84
↓ 1 callersMethodget_exchange_type
(self)
blankly/exchanges/interfaces/abc_base_exchange_interface.py:39
↓ 1 callersMethodget_fees
(self, symbol)
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_interface.py:474
↓ 1 callersMethodget_funding_rate_history
(self, symbol: str, epoch_start: int, epoch_stop: int)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:231
↓ 1 callersMethodget_funding_rate_resolution
(self)
blankly/exchanges/interfaces/futures_exchange_interface.py:210
↓ 1 callersMethodget_funding_rate_resolution
(self)
blankly/exchanges/interfaces/ftx_futures/ftx_futures_interface.py:326
↓ 1 callersMethodget_funding_rate_resolution
(self)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:234
↓ 1 callersMethodget_funding_rate_resolution
(self)
blankly/exchanges/interfaces/binance_futures/binance_futures_interface.py:447
↓ 1 callersMethodget_funding_rates
(self, start_time: int, end_time: int, symbol: str)
blankly/exchanges/interfaces/ftx/ftx_api.py:146
↓ 1 callersMethodget_future
(self, future)
blankly/exchanges/interfaces/ftx/ftx_api.py:137
↓ 1 callersFunctionget_header
(api_key, sign_, timestamp, passphrase, flag)
blankly/exchanges/interfaces/okx/okx_api.py:181
↓ 1 callersMethodget_history_candlesticks
(self, instId, after='', before='', bar='', limit='')
blankly/exchanges/interfaces/okx/okx_api.py:354
↓ 1 callersMethodget_index_ticker
(self, quoteCcy='', instId='')
blankly/exchanges/interfaces/okx/okx_api.py:339
↓ 1 callersMethodget_leverage
(self, symbol: str = None)
blankly/exchanges/interfaces/ftx_futures/ftx_futures_interface.py:263
↓ 1 callersMethodget_limit_price
Get the price that the limit is set at after triggering the stop
blankly/exchanges/orders/stop_limit.py:81
↓ 1 callersMethodget_maker_fee
(self)
blankly/exchanges/interfaces/futures_exchange_interface.py:202
↓ 1 callersMethodget_margin_type
(self, symbol: str)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:179
↓ 1 callersFunctionget_model_repr
(model: dict)
blankly/deployment/new_cli.py:276
↓ 1 callersMethodget_most_recent_tick
(self)
blankly/exchanges/interfaces/alpaca/alpaca_websocket.py:224
↓ 1 callersMethodget_open_orders
Returns all currently open orders, filtered by `symbol` if one is provided.
blankly/exchanges/interfaces/futures_exchange_interface.py:152
↓ 1 callersMethodget_open_orders
(self, symbol: str = None)
blankly/exchanges/interfaces/binance_futures/binance_futures_interface.py:364
↓ 1 callersMethodget_order
(self, symbol: str, order_id: int)
blankly/exchanges/interfaces/ftx_futures/ftx_futures_interface.py:287
↓ 1 callersMethodget_order_book
(self, instrument: str)
blankly/exchanges/interfaces/oanda/oanda_api.py:161
↓ 1 callersMethodget_orders
(self, instrument: str, accountid: str = None)
blankly/exchanges/interfaces/oanda/oanda_api.py:175
↓ 1 callersMethodget_plans
Args: type_: Can be 'backtesting' or 'live'
blankly/deployment/api.py:116
↓ 1 callersMethodget_position
Returns position information, or information for only one `symbol` if one is given
blankly/exchanges/interfaces/futures_exchange_interface.py:76
↓ 1 callersMethodget_price
Get the price that the order was set at. For limits this will be user-specified, for markets this will be market price.
blankly/exchanges/orders/take_profit.py:35
↓ 1 callersMethodget_price
Get the price that the order was set at. For limits this will be user-specified, for markets this will be market price.
blankly/exchanges/orders/stop_loss.py:35
↓ 1 callersMethodget_price
(self, symbol)
blankly/exchanges/interfaces/alpaca/alpaca_interface.py:622
↓ 1 callersMethodget_price
(self, symbol: str)
blankly/exchanges/interfaces/oanda/oanda_interface.py:428
↓ 1 callersMethodget_product_history
(self, symbol, epoch_start, epoch_stop, resolution)
blankly/exchanges/interfaces/paper_trade/paper_trade_interface.py:734
↓ 1 callersMethodget_product_history
(self, symbol: str, epoch_start: float, epoch_stop: float, resolution: int)
blankly/exchanges/interfaces/alpaca/alpaca_interface.py:371
↓ 1 callersMethodget_product_history
Returns the product history from an exchange Args: symbol: blankly product ID format (BTC-USD) epoch_start: T
blankly/exchanges/interfaces/kucoin/kucoin_interface.py:434
↓ 1 callersMethodget_product_history
(self, symbol: str, epoch_start: float, epoch_stop: float, resolution: int)
blankly/exchanges/interfaces/oanda/oanda_interface.py:361
↓ 1 callersMethodget_product_history
(self, symbol, epoch_start, epoch_stop, resolution)
blankly/exchanges/interfaces/okx/okx_interface.py:311
↓ 1 callersMethodget_product_ticker
Get recent market data for a product Use of this is discouraged, websocket feeds should be used instead for high speed polling. Retu
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_api.py:977
↓ 1 callersMethodget_products
(self)
blankly/exchanges/interfaces/binance/binance_interface.py:69
↓ 1 callersMethodget_products
(self)
blankly/exchanges/interfaces/coinbase_pro/coinbase_pro_interface.py:51
↓ 1 callersMethodget_products
(self)
blankly/exchanges/interfaces/okx/okx_interface.py:36
↓ 1 callersMethodget_purchase_time
Get when the purchase was created at. This may be set at slightly different points within an exchange's matching engine.
blankly/exchanges/orders/order.py:106
↓ 1 callersFunctionget_python_version
()
blankly/deployment/deploy.py:8
↓ 1 callersMethodget_returns
(self)
blankly/exchanges/interfaces/paper_trade/backtest_result.py:44
↓ 1 callersMethodget_size
Get the amount of base currency set in the triggered stop limit order
blankly/exchanges/orders/stop_limit.py:93
↓ 1 callersMethodget_snapshots
(self, symbols)
tests/exchanges/interfaces/alpaca/test_alpaca_interface.py:100
↓ 1 callersMethodget_status
Calls the exchange with the order id of this purchase and returns the homogenized output Args: full: Set this to True to
blankly/exchanges/orders/order.py:113
↓ 1 callersMethodget_stop_price
Get the trigger price of the stop order
blankly/exchanges/orders/stop_limit.py:75
↓ 1 callersMethodget_stop_type
Get if the stop type is "loss" or "entry"
blankly/exchanges/orders/stop_limit.py:87
↓ 1 callersFunctionget_symbols
(exchange: ABCBaseExchangeInterface)
tests/new_interface_tests/test_utils.py:95
↓ 1 callersMethodget_taker_fee
(self)
blankly/exchanges/interfaces/futures_exchange_interface.py:206
↓ 1 callersMethodget_taker_fee
(self)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:459
↓ 1 callersMethodget_ticker
(self, instId)
blankly/exchanges/interfaces/okx/okx_api.py:334
↓ 1 callersMethodget_time_in_force
Get the exchange's set time_in_force value.
blankly/exchanges/orders/take_profit.py:42
↓ 1 callersMethodget_time_in_force
Get the exchange's set time_in_force value.
blankly/exchanges/orders/limit_order.py:90
↓ 1 callersMethodget_time_in_force
Get the exchange's set time_in_force value.
blankly/exchanges/orders/stop_loss.py:42
↓ 1 callersFunctionget_timestamp
()
blankly/exchanges/interfaces/okx/okx_api.py:199
↓ 1 callersMethodhistory
(self, symbol: str, to: Union[str, int] = 200, resolution: Uni
blankly/exchanges/interfaces/abc_base_exchange_interface.py:46
↓ 1 callersFunctionhmac_encode
(message: str, secret_key: str)
blankly/exchanges/interfaces/binance/binance_api.py:40
↓ 1 callersFunctioninit
(symbol, state: blankly.StrategyState)
blankly/data/templates/keyless.py:20
↓ 1 callersMethodinit_exchange
Initializes the exchange
blankly/exchanges/interfaces/futures_exchange_interface.py:60
↓ 1 callersMethodinit_exchange
Create the properties for the exchange. This is never run if test_connectivity_on_auth is set to false
blankly/exchanges/interfaces/exchange_interface.py:153
↓ 1 callersMethodinit_exchange
(self)
blankly/exchanges/interfaces/binance/binance_interface.py:43
↓ 1 callersMethodinit_exchange
(self)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:98
↓ 1 callersMethodinit_exchange
(self)
blankly/exchanges/interfaces/alpaca/alpaca_interface.py:44
↓ 1 callersMethodis_closing_position
(position, side)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:443
↓ 1 callersFunctionis_logged_in
This function will return if the user is logged in logged_in = __is_logged_in(temp_folder) is not None
blankly/deployment/cli.py:417
↓ 1 callersMethodlist_all_models
(self)
blankly/deployment/api.py:184
↓ 1 callersMethodlist_futures
(self)
blankly/exchanges/interfaces/ftx/ftx_api.py:106
↓ 1 callersMethodlist_markets
(self)
blankly/exchanges/interfaces/ftx/ftx_api.py:91
↓ 1 callersMethodlist_positions
(self)
tests/exchanges/interfaces/alpaca/test_alpaca_interface.py:155
↓ 1 callersFunctionload_user_preferences
(override_path=None, override_allow_nonexistent=False)
blankly/utils/utils.py:232
↓ 1 callersMethodlog_limit_order
Log a limit order
blankly/deployment/reporter_headers.py:108
↓ 1 callersMethodlog_market_order
Log a market order
blankly/deployment/reporter_headers.py:102
↓ 1 callersFunctionlogout
This function will log out if not logged in
blankly/deployment/cli.py:402
↓ 1 callersFunctionlogout
()
blankly/deployment/login.py:104
↓ 1 callersFunctionmain
()
tests/exchanges/interfaces/ftx/test_ftx_interface.py:71
↓ 1 callersFunctionmain
()
blankly/deployment/cli.py:597
↓ 1 callersFunctionmain
()
blankly/deployment/new_cli.py:492
↓ 1 callersMethodmain
(self, args)
blankly/frameworks/multiprocessing/blankly_bot.py:131
↓ 1 callersMethodmarket_order
(self, symbol: str, side: Side, size: float, position: PositionMode = PositionMode.BOTH,
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:123
↓ 1 callersFunctionnumber_interval_to_string
This function converts integer intervals into string intervals Example: 3600 -> 1h Args: interval: An integer representing the
blankly/utils/time_builder.py:107
↓ 1 callersMethodoverridden_history
(self, symbol, epoch_start, epoch_stop, resolution, **kwargs)
blankly/exchanges/interfaces/abc_base_exchange_interface.py:147
↓ 1 callersMethodoverride_local_account
After initialization, this is a setter for overriding the internal values
blankly/exchanges/interfaces/paper_trade/local_account/trade_local.py:37
↓ 1 callersMethodoverride_local_account
(self, value_dictionary: dict)
blankly/exchanges/interfaces/paper_trade/futures/futures_paper_trade_interface.py:246
↓ 1 callersFunctionparse_alpaca_timestamp
(value: Timestamp)
blankly/exchanges/interfaces/alpaca/alpaca_websocket_utils.py:24
↓ 1 callersMethodparse_events
Transform to: [ { "type": "news event", "data": "gotem", "time": 2
blankly/exchanges/interfaces/paper_trade/backtest_controller.py:224
↓ 1 callersFunctionparse_params_to_str
(params)
blankly/exchanges/interfaces/okx/okx_api.py:192
↓ 1 callersMethodparse_timestamp
(time: str)
blankly/exchanges/interfaces/ftx_futures/ftx_futures_interface.py:51
↓ 1 callersFunctionpercentage_price_oscillator
(data, short_period=12, long_period=26, use_series=False)
blankly/indicators/oscillators.py:66
↓ 1 callersMethodplace_limit_order
(self, instrument: str, units: float, price: float, accountid: str = None)
blankly/exchanges/interfaces/oanda/oanda_api.py:227
↓ 1 callersMethodplace_market_order
Place market 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:553
↓ 1 callersMethodplace_market_order
(self, instrument: str, units: float, accountid: str = None)
blankly/exchanges/interfaces/oanda/oanda_api.py:210
↓ 1 callersMethodplace_stop_loss
(self, instrument: str, units: float, price: float, accountid: str = None)
blankly/exchanges/interfaces/oanda/oanda_api.py:245
↓ 1 callersMethodplace_stop_order
Place stop 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:593
↓ 1 callersMethodplace_take_profit
(self, instrument: str, units: float, price: float, accountid: str = None)
blankly/exchanges/interfaces/oanda/oanda_api.py:263
↓ 1 callersFunctionpre_hash
(timestamp, method, request_path, body)
blankly/exchanges/interfaces/okx/okx_api.py:177
↓ 1 callersMethodreceive_price_cache
(self, prices: dict)
blankly/exchanges/interfaces/paper_trade/backtesting_wrapper.py:43
↓ 1 callersFunctionrename_to
Args: keys_array: A two dimensional array that contains information on which keys are changed: keys_array = [
blankly/utils/utils.py:384
↓ 1 callersFunctionreset
(ftx_interface: FTXInterface)
tests/exchanges/interfaces/ftx/test_ftx_interface.py:59
↓ 1 callersMethodrest_event
(self, **event)
blankly/frameworks/strategy/strategy.py:56
↓ 1 callersMethodrun_backtest
(self)
blankly/frameworks/strategy/strategy.py:161
← previousnext →401–500 of 1,497, ranked by callers