Q26 ALPHA-TRADING SYSTEM
|
Public Member Functions | |
def | slippageModel (self, model="gaussian relative", parameters={"std" :0.0001}) |
Description : More... | |
Public Attributes | |
slippageMdl | |
This class contains functions used by PRICE module object
def slippageModel | ( | self, | |
model = "gaussian relative" , |
|||
parameters = {"std" : 0.0001} |
|||
) |
Description :
Define market slippage model
Parameters :
- model [str] = "gaussian relative" : The available models are : - "gaussian relative" : This model suggests the price meet a random normal fluctuation caracterised by a standard deviation value. The parameters are : {"std" : standard deviation as a percentage of the current price} - parameters [dict] = {"std" : 0.0001} : See model parameter description.
Returns :
None