由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - a hedge fund brainteaser question
相关主题
谁介绍下option策略中的buy gamma?delta hedge
[Option Pricing]股票有jump,option的价格变化。关于non-compete协议的问题
Hedge Fund 以后的职业发展请问heston model怎么hedge?
请问有谁参加 Constellation energy Third Round interview?how to hedge asian option?(phone interview problem)
[合集] 现在街上的面试已经有点走火入魔了有没有被面过LINUX问题的?
Question about delta hedging一道面试题,关于Vega和Gamma hedge的..
请教一个hedging有关的问题请帮忙推荐一下给企业做Hedging的书籍和资料,尤其是currency risk hedge和commodity price hedge
哪位给讲讲DELTA HEDGING, 怎样HEDGE?CDS Seller如何Hedge他们的risk?
相关话题的讨论汇总
话题: store话题: hence话题: init话题: allowed话题: three
进入Quant版参与讨论
1 (共1页)
d*********1
发帖数: 25
1
Three registers: a , b , c and with three commands available:
a => c; ( a is allowed to store in c)
b => c; ( b is allowed to store in c)
a-c => a; ( a-c is allowed to store in a)
how to store b into a?
I know how to store -b to a so far ...
eg: a => c; then do 'a- c =>a'; we get a=0; then we can do 'b=>c' ; we can
get ; 0- b=>a; so a euqals b;
but i could not get b to a?
any thoughts?
d*********1
发帖数: 25
2
**: 0- b=>a; so a euqals b;
correction; so a should be equal to -b;
j*****4
发帖数: 292
3
a=>c
a-c=>a //a=0 now
b-c=>c
a-c=>a //a=-b
a=>c
a-c=>a //a=0,c=-b
a-c=>a

can

【在 d*********1 的大作中提到】
: Three registers: a , b , c and with three commands available:
: a => c; ( a is allowed to store in c)
: b => c; ( b is allowed to store in c)
: a-c => a; ( a-c is allowed to store in a)
: how to store b into a?
: I know how to store -b to a so far ...
: eg: a => c; then do 'a- c =>a'; we get a=0; then we can do 'b=>c' ; we can
: get ; 0- b=>a; so a euqals b;
: but i could not get b to a?
: any thoughts?

d*********1
发帖数: 25
4
Thanks.
l****o
发帖数: 2909
5
I see this question in GS interview and fortunately I solved it.
d*******k
发帖数: 56
6
i wonder why we want to do it this way? can't it be something like this?
b ->c
then a - b ->a (as a - c->a)
then a - b ->c (as a ->c)
then a - (a - b) ->a (as a -c->a)
hence b -> a
i*****r
发帖数: 1302
7
什么是store...
C*O
发帖数: 389
8
好玩
d*********1
发帖数: 25
9
Re:
b ->c
then a - b ->a (as a - c->a)
then a - b ->c (as a ->c)
then a - (a - b) ->a (as a -c->a)
hence b -> a
d*******k
发帖数: 56
10
thanks. I got it wrong.

【在 d*********1 的大作中提到】
: Re:
: b ->c
: then a - b ->a (as a - c->a)
: then a - b ->c (as a ->c)
: then a - (a - b) ->a (as a -c->a)
: hence b -> a

相关主题
Question about delta hedgingdelta hedge
请教一个hedging有关的问题关于non-compete协议的问题
哪位给讲讲DELTA HEDGING, 怎样HEDGE?请问heston model怎么hedge?
进入Quant版参与讨论
z****g
发帖数: 1978
11
...完全没看懂,什么叫store....
s****p
发帖数: 187
12
init: [a,b,c]
a=>c [a,b,a]
a-c=>a [0,b,a]
b=>c [0,b,b]
a-c=>a [-b,b,b]
a=>c [-b,b,-b]
a-c=>a [0,b,-b]
a-c=>a [b,b,-b]
c*******6
发帖数: 24
13
b =>c
a-c =>a (a store a-b)
a =>c (c store a-b)
a-c =>a (a store b)

can

【在 d*********1 的大作中提到】
: Three registers: a , b , c and with three commands available:
: a => c; ( a is allowed to store in c)
: b => c; ( b is allowed to store in c)
: a-c => a; ( a-c is allowed to store in a)
: how to store b into a?
: I know how to store -b to a so far ...
: eg: a => c; then do 'a- c =>a'; we get a=0; then we can do 'b=>c' ; we can
: get ; 0- b=>a; so a euqals b;
: but i could not get b to a?
: any thoughts?

s******i
发帖数: 132
14
(a b c)-> (a b a)->(0 b a)->(0 b b)->(-b b b)
->(-b b -b)->(0 b -b)->(b b -b)
I think the key is to notice that only b is useful information and one can
only put data in a thru a-c. Once you realize that, just try to set a to be
zero and c to be -b.
S*******s
发帖数: 13043
15
http://www.amazon.com/The-Merriam-Webster-Dictionary/

【在 z****g 的大作中提到】
: ...完全没看懂,什么叫store....
k***7
发帖数: 6
16
b=>c
a-c=>a
a=>c
a-c=>a
1 (共1页)
进入Quant版参与讨论
相关主题
CDS Seller如何Hedge他们的risk?[合集] 现在街上的面试已经有点走火入魔了
问个绿书上的问题 - delta hedgingQuestion about delta hedging
option里怎么hedge price jump,volatility jump?谢谢!请教一个hedging有关的问题
OFFER 请教哪位给讲讲DELTA HEDGING, 怎样HEDGE?
谁介绍下option策略中的buy gamma?delta hedge
[Option Pricing]股票有jump,option的价格变化。关于non-compete协议的问题
Hedge Fund 以后的职业发展请问heston model怎么hedge?
请问有谁参加 Constellation energy Third Round interview?how to hedge asian option?(phone interview problem)
相关话题的讨论汇总
话题: store话题: hence话题: init话题: allowed话题: three