- Yesterday, 3:13 pm
- Forum: Technical Forum
- Topic: Why is Bellman Equation solved by backwards?
- Replies:
**3** - Views:
**63**

I though Bellman Equation was solved by backwards because the terminal condition is easier to define than the initial condition. Until recently, I read the book Markov decision processes with application to finance by Nicole Bäuerle and Ulrich Rieder. It says ‘Due to the stationarity of the data ho...

- June 1st, 2019, 10:21 am
- Forum: Brainteaser Forum
- Topic: What's the optimal strategy to this food transportation problem?
- Replies:
**3** - Views:
**386**

The distance between city A and B is 100 km. The total food needs to move from A to B is 3 tons. A transportation team can carry food 1 ton per day and at the same time consumes food 0.25 tons per day. Then how to setup transfer stations between city A nd B to minimize food consumption during tran...

- May 29th, 2019, 12:34 am
- Forum: Numerical Methods Forum
- Topic: How to calibrate an exponential distribution with scale?
- Replies:
**6** - Views:
**423**

I think the model should work for small-tick-size assets. But for most of other asset types, this model is not applicable directly.

- May 28th, 2019, 1:32 am
- Forum: Numerical Methods Forum
- Topic: How to calibrate an exponential distribution with scale?
- Replies:
**6** - Views:
**423**

Thank you for your reminding. I confused something here. \(\lambda(\delta)=Aexp(-\kappa\delta) \) is not a pdf. This model is from the paper "High-frequency trading in a limit order book "by MARCO AVELLANEDA and SASHA STOIKOV. \(\lambda(\delta)=Aexp(-\kappa\delta) \) is acutally the exponential a...

- May 27th, 2019, 3:46 am
- Forum: Numerical Methods Forum
- Topic: How to calibrate an exponential distribution with scale?
- Replies:
**6** - Views:
**423**

I want to fit an exponential arrival rate from my data with below model, a more detail is given in my next post: $$\lambda(\delta)=Aexp(-\kappa\delta) $$ MATLAB can fit an exponential distribution with the following pdf: $$Y(\delta)=\frac{1}\mu exp(-\frac{\delta}\mu) $$ But is there any way to conve...

- May 7th, 2019, 2:12 am
- Forum: Numerical Methods Forum
- Topic: Why the minimum is taken here when its derivative > 0?
- Replies:
**2** - Views:
**329**

Below are sentensce taken from a paper. "In fact, we are going to prove that $$\forall t\in[0,T],\forall q\in\{-Q,...,Q\},\nu_q(t)\ge e^{-(\alpha Q^2-\eta)(T-t)} $$ If this was not true then there would exist \(\epsilon \gt0\) such that: $$\min_{t,q}e^{-2\eta(T-t)}(v_q(t)-e^{-(\alpha*Q^2-\eta)(T-t)}...

- January 15th, 2018, 6:37 am
- Forum: Numerical Methods Forum
- Topic: What makes autoregression different from multiple linear regression？
- Replies:
**2** - Views:
**917**

Thank you Alan. But when I use matlab to estimate its VAR model, besides the coefficients in the linear equations, matlab also estimates the covariance matrix as unknowns. In multiple linear regression, there is no covariance matrix or autocorrelation to estimate, because samples are assumed to be i...

- January 10th, 2018, 4:12 pm
- Forum: Numerical Methods Forum
- Topic: What makes autoregression different from multiple linear regression？
- Replies:
**2** - Views:
**917**

For an AR(2) process Yt=a1*Yt-1+a2*Yt-2+b, is it different from Y=a1*X1+a2*X2+b, where X1 and X2 can be replaced by Yt-1 and Yt-2 respectively? As I know, the estimation of both models can use least square method and some book state’ We can therefore state that in the case of VAR processes, the LS e...

- May 24th, 2017, 8:33 am
- Forum: Trading Forum
- Topic: How to trade open price in practice as in my backtest?
- Replies:
**10** - Views:
**1092**

Thank you. I am new in this area. Do you have any recommeded paper or book on this topic?

- May 23rd, 2017, 9:40 am
- Forum: Trading Forum
- Topic: How to trade open price in practice as in my backtest?
- Replies:
**10** - Views:
**1092**

Thank you all for your replies. My strategy is that first to forecast the up or down of a stock in the coming 5 days. If up, I buy, otherwise short. After 5 days, I close my position. In my back test, I just use the open price to open and close my position. 5 days should be a relatively long period....

- May 22nd, 2017, 6:43 am
- Forum: Trading Forum
- Topic: How to trade open price in practice as in my backtest?
- Replies:
**10** - Views:
**1092**

Thank you. But which price should I use in back test? Should I use the first 5 minute price averaged by volume?

- May 21st, 2017, 6:14 am
- Forum: Trading Forum
- Topic: How to trade open price in practice as in my backtest?
- Replies:
**10** - Views:
**1092**

I have developed a strategy by trading open price. However, how should I make order in practice to make the return of my strategy as close as in backtest? There are some ways I can think of: 1) Send limit order with limit price in call auction period before market open. This way seems to able to get...

- July 11th, 2016, 3:13 am
- Forum: Numerical Methods Forum
- Topic: Is Bayesian Logistic Regression useful in predicting financial price change?
- Replies:
**0** - Views:
**384**

I am developing a factor model to predict price change. Bayesian Logistic Regression seems more advanced than the traditional Logistic Regression. However, as in this matlab example http://cn.mathworks.com/help/stats/examples/bayesian-analysis-for-a-logistic-regression-model.html Each feature vector...

- April 14th, 2016, 12:33 am
- Forum: Numerical Methods Forum
- Topic: How to calibrate a linear regression model to forecast asset return?
- Replies:
**5** - Views:
**1480**

Thank you Alan. What I can do is only suggestion one.Developing my model based on recent literatures and hope it works.

- April 13th, 2016, 12:25 am
- Forum: Numerical Methods Forum
- Topic: How to calibrate a linear regression model to forecast asset return?
- Replies:
**5** - Views:
**1480**

May be that's right, but as I know, factor model is still popular.

GZIP: On